View Full Version : Need Help : Adding a new vBA page with a new NEWS module..
stark
02-10-2006, 04:10 PM
Hello all :-)
Here is a thingy I want to do but I'm not sure which steps I have to make...
I want to create a new vBA page for reviewing music CDs at my site.
The page will be full of modules.
The tricky part is that I want that page to include a module which will be like the NEWS module and one that will be like the NEWS ARCHIVE bit of the original VBA.
The first module will be called "CD Reviews" and the other one will be called "REVIEWS ARCHIVE". The modules will be taking and displaying threads from a specific forum - exactly like the News and the News Archive are doing now...
I guess this means that I will have to duplicate the "news.php" and name the copy "reviews.php".
After that step I don't know how to proceed.
Could anyone please help me on this, by telling me which should be my next moves?
thanx in advance :)
Brian
02-10-2006, 05:01 PM
Just create your new page and then set the options on that page. You can set a different value for each module/setting on each page you create, so there's no need to create additional modules or anything like that.
stark
02-11-2006, 09:38 AM
Thanx Brian
Only one question...
The "News Archive" title of that module will remain as is on every page - including the new one (the Reviews page) I've made.
Is there a way to have it with a different name on each page?
somthing like "Reviews Archive" on the Reviews page...
Brian
02-11-2006, 03:38 PM
No, currently there is no option to rename modules on each page.
stark
02-12-2006, 02:32 AM
Ok thanx
for now I've just renamed to "Archives" so it suits every page it's on :-)
stark
02-12-2006, 10:41 AM
It seems I have found something wrong here...
So I did what you told me Brian
Just create your new page and then set the options on that page. You can set a different value for each module/setting on each page you create, so there's no need to create additional modules or anything like that.
Page 1 (http://www.electrowave.gr/index.php) takes the News from forum with ID= 82 (http://www.electrowave.gr/forum/forumdisplay.php?f=82). The Archives word links to that forum (with ID=82)
Now
Page 2 (http://www.electrowave.gr/index.php?page=reviews) takes the News from forum with ID =29 (http://www.electrowave.gr/forum/forumdisplay.php?f=29). BUT : The Archives word links to the previous forum (with ID=82) !! :(
Am I doing something wrong here?
stark
02-12-2006, 06:17 PM
It now seems that the problem is caused if you have entered a specific link in the Module Link field, at the Archive module settings.
I have removed the link.
Still, I really need the Archive label to link to the corresponding forum, from which the News and the Archive news are taken for each different page.
Is there any way we can modify the .php file (or any templates) so that it will enable the Archive label to function that way?
Brian
02-13-2006, 03:07 PM
If you're pulling news from only one forum on each page then this should work for the link:
{$vbulletin->options[bburl]}/forumdisplay.php?f=$mod_options[portal_news_forumid]
stark
02-13-2006, 04:50 PM
If you're pulling news from only one forum on each page then this should work for the link:
{$vbulletin->options[bburl]}/forumdisplay.php?f=$mod_options[portal_news_forumid]
It works fine
thanx once again Brian
brilliant support
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.