Mod needed - Forum Links

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

Post Reply
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

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)
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Well i just come up whit this:

I could use this part:

<A href="viewforum.php?f=1">{L_forumID?f=1}</A>

Because
"viewforum.php?f=1"
never gona change if i just change the name on it ect.
But how about the name then :?: hmm

I wonder why i dident think of that first :oops:
(I have used that so many times before)


Update:
I found this in the index_body.tpl file:
<a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>

But i tried to use it on the testpage but it woulden't work
(Diden't show anything)
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Sorry about the delay in replying. :oops:

If I understand correctly you want to display a list of all of the forums, with links to them?

Do you want links to EVERY FORUM, or just those that guests can access?
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

If you take a look at my portal then you see the links to the forum
in the middle (Cant miss them)

Ans as it is now they are all hard coded like this:
<A HREF="viewforum.php?f=24" TARGET="_self">Organization Talk</A>


As you can see the "Organization Talk" name dosen't change
if i change in the name in the admin panel, so is there a way
to fix this problem ?
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Post Reply