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 04-19-2007   #1
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,524
Exclamation phpLD 3.2.0 Template changes

Ok guys, as you know I am usually providing the template changes you have to apply to your templates. This thread is covering **only** the changes from phpLD 3.1.0 to 3.2.0!!

French Translation - Spanish Translation - Swedish Translation

If you've missed v3.1.0 and are upgrading from phpLD 3.0.6, wich is a no no , please review phpLD 3.06 to 3.10 template changes first.

I strongly suggest you to update all the PHP files, at least the files ducumented in the changelog.txt file that comes with your phpLD copy as they have many changes. We really don't need to go over the same problem again like on all other updates that people did not updated the core phpLD files and have problems. Don't tell me you were not warned before

First, make sure you rename unauthorised.php ==> unauthorized.php as well it's template file from /templates/YOUR-TPL/unauthorised.tpl ==> /templates/YOUR-TPL/unauthorized.tpl

Update your .htaccess file to support article rewriting, top/latest links, etc.

Copy the new template files, and make your own changes to HTML code if you need: article.tpl, articlelink.tpl, article_search.tpl.



top_bar.tpl (or whereever you want to add the link to latest articles page)
Add following code:
Code:
Content visible to registered users only.
2) Also, you can now use friendly URLs for latest/top links, and articles. Point the links to this if you wish:
Code:
Content visible to registered users only.
How to change this can be found here (!!You need access to the Supporters Forum!!)


main.tpl
1) Fix your ghost URL's by applying an older fix from me:
Fix Ghost URLs
(was added now to the default release, it's working good)

2) Look for:
Code:
Content visible to registered users only.
Right after add articles search results:
Code:
Content visible to registered users only.
3) Look for the part of code where you display links, usually simmilar to this:
Code:
Content visible to registered users only.
Right after add:
Code:
Content visible to registered users only.
submit.tpl
1)Look for the input field where users submit meta keywords:
Code:
Content visible to registered users only.
Right after add the validation tag:
Code:
Content visible to registered users only.
2) Look for the textarea where users submit meta description to their sites and it's validation tag:
Code:
Content visible to registered users only.
Replace with:
Code:
Content visible to registered users only.
login.tpl
Remove following two lines, as it could cause problems when admins change min/max values for username and password:
Code:
Content visible to registered users only.
Code:
Content visible to registered users only.
Don't worry, username and password still needs to match perfectly against the database info to allow someone to login.



I hope I have covered all changes please let me know if not and I will update this thread.

Enjoy
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).

Last edited by David; 06-20-2010 at 06:55 PM.
Boby is offline  
Old 04-21-2007   #2
shadav
Mentor
Supporter
Moderator
 
shadav's Avatar
 
Join Date: Dec 2006
Location: Indiana
Posts: 5,146
Default

lol found it a bit odd that the 2 temps that came with v3.2 weren't updated for v3.2 hehehe

sorry couldn't help it
__________________
shadav is offline  
Old 04-21-2007   #3
Boby
Supporter
Moderator
 
Boby's Avatar
 
Join Date: Dec 2005
Location: Cluj-Napoca/Sighisoara (Romania)
Posts: 4,524
Default

LoL, as far as I can remember I've updated also the tho additional templates in the package.
__________________
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 04-23-2007   #4
giggler
 
Join Date: Feb 2007
Posts: 113
Default

That was helpful... Is there anyway of having a list of files that were actually changed for the following. If we had mods done, it's hard to know where which files we should look into:

- [CHANGE] /admin/* (most of them)
- [CHANGE] /templates/Core/admin/* (most of them)
__________________
Do you have phpLD links for your signature?
giggler is offline  
Old 05-13-2007   #5
Irka
 
Irka's Avatar
 
Join Date: Jun 2006
Posts: 143
Default

Hello! long time no see
I'm going to update all the templates to the v3.2 this week end at www.phpldyoursite.com, wish me good luck.

Cheers for the new version! WooWoo!
__________________
Free PHPLD Templates at PHPLD Your Site
Submit Your Sites: Irka Web Directory | The Squat
Note to irka: a couple of links were removed because they were not working when we checked them
Irka is offline  
Old 05-15-2007   #6
Irka
 
Irka's Avatar
 
Join Date: Jun 2006
Posts: 143
Default

3 templates in v3.2, wasnt so much complicated but the guys above were right, you forgot to mention about the contact button to add in the top_bar.tpl but thats alright

Good work!
__________________
Free PHPLD Templates at PHPLD Your Site
Submit Your Sites: Irka Web Directory | The Squat
Note to irka: a couple of links were removed because they were not working when we checked them
Irka 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:28 PM.


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