41
JamesSAEP
Re: x_movie module installation help
  • 2007/2/14 15:09

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I have put the file on my site for download HERE.

I'm having problems getting it to upload and have started a thread HERE. If you get it going, please post back with your fix.

Good luck,
Jim



42
JamesSAEP
Re: How to change the day format at the event view (PiCal module)?
  • 2007/2/9 20:26

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I haven't used this module in a while, but there are a few places to check:
1. XOOPS system:
/language/english/global.php:
Changed lines 160, 161, 162 date format to n/j/Y

2. Check module preference for date format and change it to n/j/Y.



43
JamesSAEP
Re: xcgallery white screen uploads
  • 2007/2/8 22:49

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I'm using xcgal on my 4x4n site and have some HUGE pictures. I changed my php.ini file to the following:

post_max_size = 2000M
upload_max_filesize = 2000M
max_execution_time = 3600
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 800M



44
JamesSAEP
Xcgal category permissions
  • 2007/2/7 14:53

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I've been trying to figure out how to grant permissions by category as well. When looking at the database, there is a table "xcgal_categories" and a field "owner_id" that has a value of "0" in it.

Can someone tell me what "0" represents? My initial thought was that was the value of the "Administrators" group but it isn't.

I'm thinking that if there is a way to tie the "xcgal_usergroups" table "group_id" value to the permission that should do it. Any thoughts on this?



45
JamesSAEP
Re: user on line
  • 2007/1/31 20:21

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


You need to modify the following file and change the 11 to 90:


/modules/system/blocks/system_blocks.php:
Changed line 38 so the "Who's Online" block will accurately update and show who is really online :
From:
if (mt_rand(1, 100) < 11) {
to
if (mt_rand(1, 100) < 90) {



46
JamesSAEP
x_movie won't upload
  • 2007/1/31 18:59

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Server:
Xoops 2.0.16
PHP5/MySQL5
Apache 2.2

Module:
x_movie - version 1.7 and 2.1

I found the module from the tread HERE and installed it.

I can't submit a video from the front site (upload, url, or embed). From the admin site, the only option is to submit a url and this does work.

There are no errors when debug is enabled.

I have gone to the developers sitehttp://voicha.sytes.net/voice/ but I can't read the language.

Gestroud has been working on but for the XOOPS 2.2.4 branch only.


Might you have any suggestions? Any help would be great.


Thank you



47
JamesSAEP
Re: IP Address in "new user" notification email
  • 2006/12/27 22:26

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Ok, in case anyone wants to do this, I followed the steps (found
HERE) below and the only thing I changed was the
$myts->oopsStripSlashesGPC($HTTP_SERVER_VARS['REMOTE_ADDR'] ));
had to be changed to $xoopsMailer->assign('USERIP', $myts->oopsStripSlashesGPC($ip=$_SERVER['REMOTE_ADDR'] ));
in order to work with php.ini "register globals off" setting.


Quote:

kahumbu wrote:
I had the same idea, so after not finding any solution, I decided to dig in the code.

This hack will let you receive username, email and IP of the new user (if you wanted to receive notifications on new registration).

First, make a new file regnotify.tpl in language/english/mail_template/ containing this text:
new user has registered:

Username: {USERNAME}
Email: {USEREMAIL}
User IP: {USERIP}


You could change that, of course, but keep those {variables}.

Second, open up register.php and add the hack around Line 266-267:
$xoopsMailer->useMail();
[
b]// Start of Hack[/b]
$xoopsMailer->setTemplate('regnotify.tpl');
$xoopsMailer->assign('USERNAME'$myts->oopsStripSlashesGPC($uname));
$xoopsMailer->assign('USEREMAIL'$myts->oopsStripSlashesGPC($email));
$xoopsMailer->assign('USERIP'$myts->oopsStripSlashesGPC($HTTP_SERVER_VARS['REMOTE_ADDR'] ));
[
b]// End of Hack[/b]
$member_handler =& xoops_gethandler('member');


Finally, comment out this line:
//$xoopsMailer->setBody(sprintf(_US_HASJUSTREG,$myts->oopsStripSlashesGPC($uname)));


I would like to get comments from the devs about using the $myts->... syntax with the REMOTE_ADDR var. I was just going along with the syntax of the other vars. I'm not exactly sure if I needed to do that.

For now, it works on my site. Hope this helps others. Feedback appreciated.



48
JamesSAEP
Re: clone article .99 module issue
  • 2006/12/27 21:35

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Ok, the search.inc.php file was the solution. Thanks.



49
JamesSAEP
Re: clone article .99 module issue
  • 2006/12/27 21:30

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Permissions are set correctly - I have several articles w/ the categories. I'll try the file and post back the results.



50
JamesSAEP
Re: clone article .99 module issue
  • 2006/12/27 21:17

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Step 1: copied the "article" folder to "clubs"

Step 2:
In the vars.php file, I set $GLOBALS["ART_DB_PREFIX"] = "clubs";

Step 3:
edit /sql/mysql.sql, changed all table prefix to the specified value "clubs". For example, change "CREATE TABLE clubs_article"

Step 4:
change all template name prefix to clubs, including all templates in /templates/ and /templates/blocks/.

Step 5:
Installed module




TopTop
« 1 2 3 4 (5) 6 7 8 ... 66 »



Login

Who's Online

210 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits