PDA

View Full Version : Using $referrer_parts


tgreer
01-19-2006, 02:16 PM
I'm writing a plugin that will add a member recruitment / custom welcome message. It will replace the "Posting Rules" table for guests. The idea is that, most guests hit the site in response to a web search, so they arrive on a thread page. The message should be at the bottom of the thread, compelling them to join.

I want to use the search terms in the message.

Google, for example, uses "q=" in the querystring to store search terms.

I see in /includes/init.php that there is already a "$referrer_parts" variable, but it isn't global. Would it contain the info I need?

I guess the exact question is, is there already a variable within vBulletin that stores the search terms the user entered that brought them to the site?

Rich
01-19-2006, 02:43 PM
This is not a release. Read my signature.

tgreer
01-19-2006, 10:08 PM
Sorry... I wasn't aware of the forum structure until recently.