Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Jan 2014, 13:05
howarde's Avatar
howarde howarde is offline
 
Join Date: Sep 2007
IF URL Contains 'X' Code?

Is there a way to retrieve the URL in VB code similar to a php function that would be like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Basically, I need to insert an ad zone, in the gallery, which in forums, I just use

vb:if condition="$GLOBALS[forumid]== foo"

But since /gallery isn't a forum and doesn't have a forum id... what should I use to find if the URL contains /gallery, any suggestions??
Reply With Quote
  #2  
Old 20 Jan 2014, 13:08
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
This is still not the thread for the gallery mod, as I suggested, post it in the mods thread, you may have more luck there.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #3  
Old 20 Jan 2014, 13:12
howarde's Avatar
howarde howarde is offline
 
Join Date: Sep 2007
Could you guys make it any more difficult? How about a link to the right forum, since you can't move the thread?

As I said in the other thread you wouldn't move, this isn't the VBULLETIN GALLERY.

--

I'm not asking a complex question.

All I want to know is:

Is there a vb variable for the URL similar to the php function SERVER 'REQUEST_URI' (brackets removed)

This isn't a request for a mod, or anything complex. It's almost a yes/no question.

Last edited by howarde; 20 Jan 2014 at 13:17.
Reply With Quote
  #4  
Old 20 Jan 2014, 13:42
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
So you want a link to the thread for the modification you are needing help with? How am I supposed to know which of the multiple gallery mods you are trying to work with.

Sure there is a similar thing in vB:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But it all depends on where and what you are doing, if the variable is registered. That is why you need to ask in the modification thread.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Profile Enhancements URL, BB code & Embed code information under album images C.Birch vBulletin 3.7 Template Modifications 58 07 Apr 2008 17:04



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 15:32.

Layout Options | Width: Wide Color: