Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #51 (permalink)  
Old 08-10-2007, 12:36 PM
dollars5's Avatar
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,154
Thanks: 290
Thanked 266 Times in 177 Posts
Can you try this http://localhost/pligg/ts_image.php?ts_random=333555 and are you sure you have the better captcha fonts copied to you root dir?
Reply With Quote
  #52 (permalink)  
Old 08-11-2007, 12:16 AM
Casual Pligger
 
Join Date: Jul 2007
Posts: 44
Thanks: 19
Thanked 0 Times in 0 Posts
Smile Captcha not showing

Quote:
Originally Posted by dollars5 View Post
Can you try this http://localhost/pligg/ts_image.php?ts_random=333555 and are you sure you have the better captcha fonts copied to you root dir?
Yes Sir, I tried the above and the better captcha fonts are in the root directory but within the folder: better_captcha_fonts.

On the source page of my browser I do see the random numbers being generated but no image in the browser but only the alt text "captcha"

I also tried the install/troubleshooter but it says that there are no errors.

Dollars5, I do appreciate your efforts to help me out. Thanks

Last edited by termite; 08-11-2007 at 12:24 AM..
Reply With Quote
  #53 (permalink)  
Old 08-11-2007, 01:25 AM
Casual Pligger
 
Join Date: Jul 2007
Posts: 44
Thanks: 19
Thanked 0 Times in 0 Posts
Smile Working Now

Hi Dollars5,
The error has gone.
I enabled the captcha in the Admin Panel and cleaned up the templates_c folder and the captcha images are visible now.
Thanks
Reply With Quote
  #54 (permalink)  
Old 08-11-2007, 02:34 PM
New Pligger
 
Join Date: Jun 2007
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Hey Dollar5,

I got it to work by following the method of cleaning up the template_c folder. Do you know why this happens?
Reply With Quote
  #55 (permalink)  
Old 08-13-2007, 12:03 AM
dollars5's Avatar
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,154
Thanks: 290
Thanked 266 Times in 177 Posts
template_c is the compiled templates, at times, the cache detects that the latest compiled is already present and will start to fetch from there, if something on templating part fail to update - simple step is to empty the template_c template cache.
Reply With Quote
The Following User Says Thank You to dollars5 For This Useful Post:
  #56 (permalink)  
Old 08-22-2007, 03:16 PM
New Pligger
 
Join Date: Aug 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
step-4: Modify the validation.php with proper database settings
I'm not sure if this step is what's giving me problems but what exactly should I be modifying? Everything seems to work fine until I login with a new account. The login button now takes me to a blank page.
Reply With Quote
  #57 (permalink)  
Old 08-23-2007, 09:12 AM
Adaman's Avatar
Constant Pligger
Pligg Version: v9.8.2
Pligg Template: Custom
 
Join Date: Jan 2007
Location: Scotland
Posts: 111
Thanks: 23
Thanked 17 Times in 7 Posts
Quote:
Originally Posted by kbeeveer46 View Post
Nice job. We'll have to see about making this a module. Might be a little tougher than usual for this type of customization.
I would say this should be an integral part of the pligg base code and not an addon module, Helps fight spam registrations no end.

Adam
__________________
The Original Pligg Template Community Site - http://pligg-template.com
The P2P and File Sharing News and Bookmarking Site: http://p2pvine.com
Reply With Quote
  #58 (permalink)  
Old 09-22-2007, 01:23 PM
MicroBerto's Avatar
Casual Pligger
 
Join Date: Oct 2006
Posts: 50
Thanks: 14
Thanked 16 Times in 5 Posts
Quote:
Originally Posted by dollars5 View Post
template_c is the compiled templates, at times, the cache detects that the latest compiled is already present and will start to fetch from there, if something on templating part fail to update - simple step is to empty the template_c template cache.
Hey dollars5 - ts_image.php works great on my home server, but on my site, I get this:

Code:
The image "http://www.drunkenscholar.com/ts_image_old.php?ts_random=76712519" cannot be displayed, because it contains errors. 
Check it out here:
http://www.drunkenscholar.com/ts_ima...andom=76712519 (I renamed this stuff to ts_old.php and libs/ts_image_old.php so that I can get something working)

My host is lunarpages.com. I have no clue why it's behaving differently. I think I'll go back to the old ts_image.php for now, which is a bummer.

Do you have a PHP file with extra debugging to help me find this problem?

Thanks!
berto

PS - This is the first time I'm showing my site off. Let me know what you think!

Last edited by MicroBerto; 09-22-2007 at 01:28 PM..
Reply With Quote
  #59 (permalink)  
Old 09-23-2007, 02:16 AM
dollars5's Avatar
Pligg is my love :)
 
Join Date: Dec 2006
Location: India
Posts: 2,154
Thanks: 290
Thanked 266 Times in 177 Posts
Did you upload the font files? I guess the server has some issues with the fonts that we used - I suggest you to replace the fonts with standard ones - may be that should help. I would also suggest to contact your host to see if they have the latest version of GD Image Library for PHP installed - may be that might also be an issue.

The ts_image.php - does not have a separate debug version - any error it generates would be emitted on to your browser as you see now.
Reply With Quote
The Following 2 Users Say Thank You to dollars5 For This Useful Post:
  #60 (permalink)  
Old 09-24-2007, 03:32 PM
MicroBerto's Avatar
Casual Pligger
 
Join Date: Oct 2006
Posts: 50
Thanks: 14
Thanked 16 Times in 5 Posts
Quote:
Originally Posted by dollars5 View Post
Did you upload the font files? I guess the server has some issues with the fonts that we used - I suggest you to replace the fonts with standard ones - may be that should help. I would also suggest to contact your host to see if they have the latest version of GD Image Library for PHP installed - may be that might also be an issue.

The ts_image.php - does not have a separate debug version - any error it generates would be emitted on to your browser as you see now.
Thanks dollars5 - It turns out that PHP5 was not up and running. It did not work with php4, but when I moved to php5, all is well. Cheers!
berto
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Email confirmation for registration sbanerjee General Help 2 11-23-2008 11:42 AM
HELP! I'm getting spammed! AshMCairo General Help 113 11-04-2008 01:58 PM
Single step registration + Confirmation e-mail v0.3 onis General Help 1 01-17-2008 11:23 AM
single step submission of new story surender General Help 0 12-21-2007 12:54 AM


Search Engine Friendly URLs by vBSEO 3.2.0