21
anemic
Re: How do you add a template?
  • 2007/3/2 5:15

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Thanks.I knew how to copy a block but forgot that system was a module. Here's how I did it for others who want to do this.. I changed to the $xoopsroot/modules/system and added a new numbered template to the bottom of xoops_version.php that looked like this
$modversion['templates'][15]['file'] = 'system_block_dummy.html';^M
$modversion
['templates'][15]['description'] = 'Dummy template for custom blocks or blocks without templates';

and added this.
$modversion['templates'][16]['file'] = 'system_userinfo_mycopy.html';^M
$modversion
['templates'][16]['description'] = 'New UserInfo template';


I changed directories to $xoopsroot/modules/system/templates and copied system_userinfo.html to system_userinfo_mycopy.html. Then go to admin>Modules and update the system module. Then go to templates and chose my new template name and clicked generate. That's it. Thanks for the reminder!!!



22
anemic
How do you add a template?
  • 2007/3/2 2:10

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Hi,

I'm writing extensions to userinfo.php and would like to add a template to the system section. I've cloned the default template set and want to add a new version of system_userinfo.html so that I can work with new versions of userinfo and a corresponding template. I cannot figure out how to add a new template.

Thanks.



23
anemic
xcgallery white screen uploads
  • 2007/2/8 21:09

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


I've been building a new site with xcgallery. Occasionally when uploading I get the white screen while uploading a big file via db_input.php. It seems like the file makes it all the way over to the server and then I get the error. I have max file size set in php.ini and the module configuration. Large megapixel files are allow, timeouts all bumped up..but still I get this problem occasionally. Does anyone know how to trace these down? It seems like the error happens after the file is received. Mostly I'd not care but try again.. but someone paying the bills gets it more often and I'd like to solve for him too.

Thanks, anemic



24
anemic
SmartFactory's Smartpartner An error occured. The partner was not updated.
  • 2007/1/15 16:51

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


I've installed SmartPartner on a 2.0.16 site. Whenever I try to add a partner I get an error message that the partner was not updated. I've uninstalled and re-installed the module. If anyone knows what causes this problem I'd appreciate a pointer. Debug output follows.

anemic

An error occured. The partner was not updated.

If the page does not automatically reload, please click here
All errors (0) queries (6) blocks (0) extra (0) timers (3)
Errors
Queries
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = '*****'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_modules WHERE dirname = 'smartpartner'
SELECT * FROM xoops_config WHERE (conf_modid = '25') ORDER BY conf_order ASC
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'MFB4' AND tpl_file = 'system_redirect.html') ORDER BY tpl_refid
Total: 6 queries
Blocks
Total: 0 blocks
Extra
Timers
XOOPS took 0.101 seconds to load.
XOOPS Boot took 0.039 seconds to load.
Module init took 0.062 seconds to load.



25
anemic
Re: xcgal maximum file size?
  • 2007/1/15 16:13

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Hi,

This took a while to solve. I wanted to be sure others don't trip over it.

From the Coppermine FAQ http://www.cse.unsw.edu.au/~drt/drtsearch/docs/faq.htm.gz

I can't upload with the upload feature. What's wrong?

If you get the error message No picture was uploaded. If you have really selected a picture to upload, check that the server allows file uploads..., check if there's a problem with HTTP uploads on your server - they may have been disabled or improperly configured. In phpinfo(), check that "file_uploads" is ON, "upload_max_filesize" is something like 2M and "upload_tmp_dir" is a valid directory!



26
anemic
xcgal maximum file size?
  • 2007/1/14 7:35

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Hi,

I'm using xcgal and note there's a maximum file size limit of 2 megabytes. Does anyone know how to bypass this ceiling. It seems kind of low with so many megapixel cameras out there.

Thanks for any information,anemic



27
anemic
HELP How to fix register_globals/globals variables at dedicated GoDaddy box!
  • 2007/1/12 5:47

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Howdy,

I've a working XOOPS site that I am migrating to a dedicated server at GoDaddy. Once I got the files over I see they turn off global variables in their default installation. A number of modules like xcgallery no longer function correctly. I am looking for a server wide solution to this problem where I don't have to hand edit a few hundred files. GoDaddy uses plesk 8.0 to manage the site. It's runing 5.0.4 on Fedora Core 4.

I've tried a number of things to turn this globals on . In /etc/php.ini I added this
register_globals = on

In the vhost.conf file I added these to $xoopsroot and the modules/xcgal directories.

php_admin_value global_variables On
php_value register_globals 1

I have some code I found by googling around that sometime fixes the issue
if (!empty($_GET))
{
extract($_GET);
}
else if (!empty($HTTP_GET_VARS))
{
extract($HTTP_GET_VARS);
}

if (!empty($_POST))
{
extract($_POST);
}
else if (!empty($HTTP_POST_VARS))
{
extract($HTTP_POST_VARS);
}

I have bounced the server a couple of times, stopped and started apache and run the GoDaddy warm apache start fix
/usr/local/psa/admin/bin/websrvmng -a -v.

Phpinfo loaded called from a XOOPS module directory show register_globals on for the local and master value. So the server thinks it's installed..why does references to HTTP_POST_VARS/HTTP_GET_VARS still fail?



28
anemic
Subscription access- Xtotal or Subscription from Third Eye Software?
  • 2007/1/8 17:29

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


I need a subscription module to allow my members to upgrade their acount to premium levels of service. I want to control access through groups in that I can have free, basic and premium members all mapped into their own groups. I'd like my non-paying users be able to upgrade on the fly without my intervention. If possible they register and use Paypal to pay their monthly fee and Paypal notifies my website seemlessly. Recurring fees would be nice as well as an option on the XOOPS registration page indicating which group they want to be allowed access. Paying users would get to advertise or have blogs or their own photo galleries.

I have looked at xTotal and the Subscription module from Third Eye software and thought I'd ask the XOOPS community before making a decision. Alternative recommendations to these two packages are welcome. If you have a similar installation or use one of these packages please post a comment on your experiences.

Thanks, anemic



29
anemic
Need a simple editor for userpages web page and a image manager question
  • 2007/1/5 6:25

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Hi,

I've installed userpage to allow my members to build their own webpage. I need a very simple editor to allow a member to browse to their own uploaded photos (not anyone elses) to include in their home page. I want something without a lot of button options .. the site I'm building will have a lot of senior citizens and we want it to be very simple to use. Recommendations are welcomed here. Also..can the image manager be modified to only allow the user to see their own photos and no one elses?

TIA, Anemic



30
anemic
rw-banner questions
  • 2006/12/19 2:01

  • anemic

  • Just popping in

  • Posts: 36

  • Since: 2006/12/6


Hi,

I've installed rw-banner to show random ads. I'm hoping someone here can answer a couple of questions. I could not get to the english part of the support site.

I've only a dozen ads defined and I noticed sometimes I get the same ad shown on the left and right 'Random Banner' block. Is there anyway to avoid this? There's a title 'Random Banner' at the top of the ad space. I deleted the textfield under the title and this removed the text but I still have a narror border in the same color as all the other Block Titles. Is there a way to only have my ads show in Random Banner blocks? Lastly my ads don't float to the right of the right column. They hug the left edge of that column.

Thanks for any advice, anemic.




TopTop
« 1 2 (3) 4 »



Login

Who's Online

285 user(s) are online (180 user(s) are browsing Support Forums)


Members: 0


Guests: 285


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