![]() |
Simple Modification needed Someone help me please!!!
i posted this a few days ago it got over 44 views no reply's then just got buried under the last 3 pages worth so I'm trying again and hope some designer/coder picks up on this.
paid 180 bucks for this source which does not include something simple which to our community is much of a priority and i thought it would of had something like this included. but it seems not so any help in getting this working be it a plugin or a direct forum edit. i would really appreciate it. for you people this should be a breeeze to do but it seem of the 44 people who read it last time not a single reply so here goes once again. ------ I've spent the last 4 hours searching for this what i thought was a simple answer but cannot find it listed anywhere nor a plugin that does what i need. Currently i use Wordpress and a plugin called "Members Only" if a member Visits my site and they are not logged in it will re-direct them to another webpage on the server. if the user is logged in it will allow them to bypass the Re-Directed website and hit the forum. ________________ What i am after is the following being made into a plugin for the adminCP maybe? what i'm looking for is the following which shouldn't be very hard for someone with coding skills to do When the user visits the www.mygamingsite.com/forums link if they are not already logged in they get re-directed instantly to www.mygamingsite.com main homepage which is where they learn all about the history behind the group. if the user is already logged in it bypasses being re-directed to the main homepage. i can actually do this by using this Code:
to the login.php page or Register page. also manually editing the template when i've seen some of the most advanced complex adminCP plugin's that work flawless just seems stupid because if people can do these huge complex plugin's this little thing should be a breeze. |
Perhaps this:
HTML Code:
<if condition="$show['guest'] AND THIS_SCRIPT == 'index'"> |
Hiya Lynne thanks for the reply but i dont understand what you mean.
can you be a little more informative does this go on the login.php/register.php source page? i understand kinda what it's doing but it doesn't make sense being that the user who clicks on the login link or the register link must not be redirected. if they was then it would just be an endless loop and they'd never be-able to login lol could you maybe write up exactly how i would put this into play i would really appreciate it. because at the moment the forums are offline until i get this sorted and it's probably just something so simple, but i am not familiar with vbulletin source what i am familiar with is torrent source code and their php but vbulletin is totally different. |
You said you could use this code:
HTML Code:
<if condition="$bbuserinfo['usergroupid'] == 1"> HTML Code:
<if condition="$show['guest'] AND THIS_SCRIPT == 'index'"> |
ah now i understand so if the user is a guest and not logged in it re-directs them to the website but if the guest clicks the page which is register.php or login.php it wont re-direct them and allow them to login or signup?
if that is how it works thank you very much not got access to the FTP tonight so can't test it but if you can confirm this is what it's actually doing then i'd be more than greatful thank you |
If you ONLY want that line to not show up on the register or login page (like what if they go to forumdisplay.php? or showthread.php?), then you may want to try this instead:
HTML Code:
<if condition="$show['guest'] AND (THIS_SCRIPT != 'login' OR THIS_SCRIPT != 'register')"> |
even better you know out of all the people here who's made amazing complex scripts and plugins not one of them nor a single person who works for vbulletin has had any decency to help
i have just paid 180 bucks which is like a weeks full wage for me on this script. and i cant even get someone official to help me with support in getting this simple thing fixed? it's appalling Anyway lynne much appreciated you coming back to this thread and helping to advance on it |
Quote:
|
didn't know that thought this was an official website attached to the company.
and all the people here was paid helpers well the mods/and coders at least. had no idea this is volunteer site explains why no-body else could be bothered to help. anyway thanks again, |
It is the official website attached to the site. It's just that none of us are paid. None of the modification developers are paid. It's an all volunteer official site. (If that makes sense.)
|
Lynne......you forgot to say just how useful this site is.
My thanks to all the helpful people that use this site...moderators/staff/coders...and just the users. I've been helped many times with problems, and can't thank the users of this site enough. Well done to all who spend time helping us for no payment. |
All times are GMT. The time now is 05:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|