Go Back   PHP Link Directory Forum > PHP Link Directory (phpLD) > PHPLD Community

PHPLD Community Have suggestion about the site? Or want to network?

Closed Thread
 
topic widgets
Old 12-01-2006   #1
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,524
Exclamation phpLD 3.1.0 Template changes

Some of the users complaint they wouldn't pay for the supporters forum, but want the template changes list. Thought it's fair to share them with everyone running phpLD 3.+.

Because this release has not many template changes, I will make a quick review to help you update them really fast.
Examples should be same or somehow identical to your template code.


submit.tpl
Email banning validation tag, comes right after:
Code:
Content visible to registered users only.
and this is it:
Code:
Content visible to registered users only.
Reciprocal link ID feature deprecated, so you have to replace the textarea with the reciprocal link example from something like:
Code:
Content visible to registered users only.
to this simple example:
Code:
Content visible to registered users only.
New image verification needs a unique hash passed for increased security and validation, replace:
Code:
Content visible to registered users only.
with this:
Code:
Content visible to registered users only.
Note: captcha.php?imagehash={$imagehash}


profile.tpl
Changes to this file need to be done twice, I will give you only once the example. They are almost identical to submit.tpl
Add email banning validation tag, look for:
Code:
Content visible to registered users only.
Add this right after:
Code:
Content visible to registered users only.
Look for the image verification:
Code:
Content visible to registered users only.
Replace with:
Code:
Content visible to registered users only.
Hope this comes in handy
For PHP files, I suggest you update them all because they have almost all a lot of changes.

Boby
__________________
Please do *not* contact me for support on phpLD!! I can hardly find time to give support for my own mods, for anything else I won't.
  • My phpLD Mods
  • I am *not* a phpLD staff member, so please do *not* ask me to grant permissions, sales stuff, for access to the private supporter forums or phpLD download area.
  • Before you report your problems, make sure it happens with the *default* package and not your highly modified code. Don't forget to use the search feature and do not *bump* threads to soon (allow at least 24h).
Boby is offline  
Old 12-01-2006   #2
vegabond
 
vegabond's Avatar
 
Join Date: Aug 2005
Location: Dhaka, Bangladesh
Posts: 857
Default

Thanks a lot Boby, It will save my time
__________________
Web Mustang ~ Allthelink ~ OS Designer - phpLD Templates ~ Templates Pedia
vegabond is offline  
Old 12-03-2006   #3
balkanboy
Supporter
 
Join Date: Nov 2005
Posts: 210
Default

Boby nice admin panel design. Did you create it yourself or someone helped you?
balkanboy is offline  
Old 12-04-2006   #4
Mountain King
Supporter
 
Join Date: Oct 2006
Posts: 19
Default

I haven't paid the v3 supporters forum because I can't pay with my credit card and have to wait for my friend to get it for me.

Anyway, what about database changes? were there there any changes?
Mountain King is offline  
Old 12-04-2006   #5
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,524
Default

@shabuanower
No problem dude, hope you have updated allready.

@balkanboy
Thank you I'm responsible for the admin panel design as well as it's coding

@Mountain King
Yes, ther are some DB changes, actually just two tables added. Run through the installer and it will automatically take care of everything.
__________________
Please do *not* contact me for support on phpLD!! I can hardly find time to give support for my own mods, for anything else I won't.
  • My phpLD Mods
  • I am *not* a phpLD staff member, so please do *not* ask me to grant permissions, sales stuff, for access to the private supporter forums or phpLD download area.
  • Before you report your problems, make sure it happens with the *default* package and not your highly modified code. Don't forget to use the search feature and do not *bump* threads to soon (allow at least 24h).
Boby is offline  
Old 12-04-2006   #6
vickyji
Supporter
 
Join Date: Dec 2006
Posts: 83
Default

These are the changes for templates of v3.0.6 for using with v3.1.0 -- right?
vickyji is offline  
Old 12-04-2006   #7
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,524
Default

Code:
Content visible to registered users only.
Yes, you are right.
__________________
Please do *not* contact me for support on phpLD!! I can hardly find time to give support for my own mods, for anything else I won't.
  • My phpLD Mods
  • I am *not* a phpLD staff member, so please do *not* ask me to grant permissions, sales stuff, for access to the private supporter forums or phpLD download area.
  • Before you report your problems, make sure it happens with the *default* package and not your highly modified code. Don't forget to use the search feature and do not *bump* threads to soon (allow at least 24h).
Boby is offline  
Old 12-04-2006   #8
vickyji
Supporter
 
Join Date: Dec 2006
Posts: 83
Default

Code:
Content visible to registered users only.
Mate, I am not a programer .. i never worked with smarty. Is it easy to make changes? like search and replace the line in the code?

Or I should wait for a week for people to upgrade thier templates to make compatible with latest version.
vickyji is offline  
Old 12-04-2006   #9
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,524
Default

@vickyji
It's no big deal, just edit the files using the file manager of Cpanel if you have one, or use a regular text-editor on your own PC then upload and overwrite.
__________________
Please do *not* contact me for support on phpLD!! I can hardly find time to give support for my own mods, for anything else I won't.
  • My phpLD Mods
  • I am *not* a phpLD staff member, so please do *not* ask me to grant permissions, sales stuff, for access to the private supporter forums or phpLD download area.
  • Before you report your problems, make sure it happens with the *default* package and not your highly modified code. Don't forget to use the search feature and do not *bump* threads to soon (allow at least 24h).
Boby is offline  
Old 12-05-2006   #10
vickyji
Supporter
 
Join Date: Dec 2006
Posts: 83
Default

Thanks Boby,

I am gonna do it.
vickyji is offline  
Old 12-15-2006   #11
agnivo007
 
agnivo007's Avatar
 
Join Date: Feb 2006
Posts: 103
Default

Many thanks boby!
__________________
Premium Paid Directory Network
agnivo007 is offline  
Old 04-13-2007   #12
giggler
 
Join Date: Feb 2007
Posts: 113
Default

It's actually not that hard to understand the template system and smarty is quiet smart! I was able to learning in a pretty short time and are able to even customize some things now.

You just have to learn it by doing...and asking questions and searching the forum... Once you understand, then it's like a whole new world of things you can do...
__________________
Do you have phpLD links for your signature?
giggler is offline  
Old 04-13-2007   #13
tojo
Supporter
 
tojo's Avatar
 
Join Date: Feb 2007
Posts: 111
Default

http://www.smarty.net/crashcourse.php

The crash course helped me a lot when I first started messing with it and today I write my php scripts to use smarty because of the ease of customizing.

Last edited by David; 05-19-2010 at 06:42 PM.
tojo is offline  
Closed Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
topic widgets



All times are GMT +1. The time now is 05:34 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.