vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > Modifications

Reply
 
Thread Tools Display Modes
  #1  
Old 04-29-2005, 11:10 AM
Martell Martell is offline
Junior Member
 
Join Date: Oct 2004
Posts: 6
Exclamation [Request] - Force Specific Stylesheet

Pursuant to a "How Do I" Q I had, I'd like to request a hack to force a specific stylesheet. I am willing to pay (via paypal) for the Hack.
Reply With Quote
  #2  
Old 04-29-2005, 11:39 AM
theMusicMan's Avatar
theMusicMan theMusicMan is offline
Senior Member
 
Join Date: May 2004
Posts: 491
Default Re: [Request] - Force Specific Stylesheet

Quote:
Originally Posted by Martell
Pursuant to a "How Do I" Q I had, I'd like to request a hack to force a specific stylesheet. I am willing to pay (via paypal) for the Hack.
Can you not to this on the URL you use to direct people to your links directory or gallery?

Try

http://www.yoursite.com/your_links/index.php?styleid=n

Where n = the style ID of the style you wish to force.
__________________
John
www.theMouthPiece.com - Brass music discussion
www.reflectingme.com - gallery
Reply With Quote
  #3  
Old 04-30-2005, 07:20 PM
Martell Martell is offline
Junior Member
 
Join Date: Oct 2004
Posts: 6
Default Re: [Request] - Force Specific Stylesheet

Thanks John, but it appears that the way I have this set up (links dir is completely protected and based on a subscription system) that it doesn't work.
Reply With Quote
  #4  
Old 04-30-2005, 07:41 PM
theMusicMan's Avatar
theMusicMan theMusicMan is offline
Senior Member
 
Join Date: May 2004
Posts: 491
Default Re: [Request] - Force Specific Stylesheet

Hmmm... I thought it should still work regardless of permissions. If someone tries to view the Links Dir but doesn't have permissions, then the standard vB permissions error would be displayed, but if they do have the correct permission they then should see the forum with the style set as specified in the ?styleid=n parameter in the URL link.
__________________
John
www.theMouthPiece.com - Brass music discussion
www.reflectingme.com - gallery
Reply With Quote
  #5  
Old 05-01-2005, 11:28 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: [Request] - Force Specific Stylesheet

Try looking in your global.php file for this code:
PHP Code:
// #############################################################################
// ######################## START TEMPLATES & STYLES ###########################
// ############################################################################# 
And right above it add something like this:
PHP Code:
if (VBA_SCRIPT == 'links')
{
$codestyleid X;

(Change X there with the styleid).
Reply With Quote
Reply


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change the stylesheet? Martell "How Do I..." Questions 1 04-29-2005 10:55 AM
(Request) Latest/Hottest Links from specific category only? tfw2005 Add-On Modules & Modifications 0 12-16-2004 04:36 PM


All times are GMT -4. The time now is 04:46 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.