Mod needed - Forum Links
Posted: Fri Sep 01, 2006 5:07 pm
As you can see on my portal i have changes it quite havily this 2 days.
http://www.volunteerforum.se/portal.php (What do you think about the portal btw)
But one thing that i had to do was to "hard code" the
forum names, so when i update the names or change them
later in the admin panel, then i must change it on the portal too
because they are hard coded..
Is there some kind of code built into phpBB that let me use something like:
Link - Name
{U_forumID?f=1} - {L_forumID?f=1}
{U_forumID?f=2} - {L_forumID?f=2}
{U_forumID?f=53} - {L_forumID?f=53}
{U_forumID?f=47} - {L_forumID?f=47}
And that code be something like this as you see it:
Volunteer Jobs Wanted
Volunteer Jobs Offered
Projects/Idées/Economy
Travel Companions
Example:
<A href="{U_forumID?f=1}">{L_forumID?f=1}</A>
Gets:
Volunteer Jobs Wanted
So i dont need to change it twice (Once in the admin panel and one in the portal)
http://www.volunteerforum.se/portal.php (What do you think about the portal btw)
But one thing that i had to do was to "hard code" the
forum names, so when i update the names or change them
later in the admin panel, then i must change it on the portal too
because they are hard coded..
Is there some kind of code built into phpBB that let me use something like:
Link - Name
{U_forumID?f=1} - {L_forumID?f=1}
{U_forumID?f=2} - {L_forumID?f=2}
{U_forumID?f=53} - {L_forumID?f=53}
{U_forumID?f=47} - {L_forumID?f=47}
And that code be something like this as you see it:
Volunteer Jobs Wanted
Volunteer Jobs Offered
Projects/Idées/Economy
Travel Companions
Example:
<A href="{U_forumID?f=1}">{L_forumID?f=1}</A>
Gets:
Volunteer Jobs Wanted
So i dont need to change it twice (Once in the admin panel and one in the portal)