vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 02-24-2005, 04:39 PM
RetroDreams RetroDreams is offline
Member
 
Join Date: Jun 2004
Posts: 91
Default Dynamic Content Modules - Passing ForumID to Module?

Brian,

Further taking our discussions about unique modules per forum, got another question for you. Looking through the theory, I would have had to add nearly 600+ templates and pages to have custom content.

There has to be a better way. That said, and I'm not a coding guru... I can do basic stuff, but anyway, is there a way to pass a forum ID to a module so it could just be dynamic?

What I see is having a db table and module, lets say call Links. When you are on the Forum with ID for 4, it pulls those links and displays them... when you are in Forum 5, you get those links, etc.

So I guess in building this my first question is there a way that a module can pull the current forumid? Or am I fighting a losing battle?
  #2  
Old 02-24-2005, 05:06 PM
Tom M Tom M is offline
Senior Member
 
Join Date: Jan 2004
Posts: 1,867
Default Re: Dynamic Content Modules - Passing ForumID to Module?

You can see how I did it here.

It should provide enough information to get you going.
__________________
Tom Morris
Porsche Boxster discussion forum.
Today's Conservative discussion forum.
  #3  
Old 02-26-2005, 05:44 PM
RetroDreams RetroDreams is offline
Member
 
Join Date: Jun 2004
Posts: 91
Default Re: Dynamic Content Modules - Passing ForumID to Module?

I'm not sure I get how it works. I tried to get it to echo the forumid and couldn't get it. Kept getting "Resource #20" when using it?
  #4  
Old 02-27-2005, 09:53 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Dynamic Content Modules - Passing ForumID to Module?

Are you trying to use $forumid in a template or in a file? There's not any reason I can think of that it shouldn't work in either...
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic VB Content Module Tom M Add-On Modules & Modifications 80 10-25-2005 04:42 AM
Display only certain Modules on a custom page content? Zorobz Troubleshooting / "How do I..." Questions 2 12-14-2004 11:02 AM
Passing construct_page_nav variables to module Fargo Troubleshooting / "How do I..." Questions 1 11-13-2004 07:55 AM
Finding forumid goingnova Troubleshooting / "How do I..." Questions 2 06-25-2004 01:09 PM
Dynamic navigation module? hpwilhelm Add-On Modules & Modifications 5 06-23-2004 09:49 AM


All times are GMT -4. The time now is 10:39 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.