Log in

View Full Version : How to do this (RSS include and exclude)?


Cybershaolin
10-04-2007, 02:50 AM
Actually, I have created a new module where I exclude all RSS sub-forums from the getnew or getdaily new messages.

This is how the module looks like:

Product: vbulletin
Hook location: search_getnew_process
Title: Forums included in the results of the getnew or getdaily process
Execution order: 5
Plugin PHP code: $forumids = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 ,19,20,21,22,23,24,25,26,27,);
Plugin is active: Yes

Some of my users (not all of them) would also like to have another link including my RSS sub-forums so they would have something like this in the navbar:

New messages
New messages with RSS

and they would have the choice of clicking on the link they do prefer.

How to do this?

Dismounted
10-04-2007, 04:46 AM
Add a conditional with a superglobal, then use the superglobal in one link but not the other.

Cybershaolin
10-04-2007, 05:16 AM
You're losing me! I'm not a coder... the hack I made first was provided by somebody else I can't find anymore.

Would you be able to guide me a little more please?

Cybershaolin
10-07-2007, 06:05 PM
Could I get more details as I said in my previous post please?