Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
What style are we all using? Details »
What style are we all using?
Mod Version: 1.00, by Gary King (Member) Gary King is offline
Developer Last Online: Jun 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 86
Released: 28 Mar 2004 Last Update: Never Downloads: 7
Not Supported  

NOTE: Make sure all your styles have different display orders (only if they are in the same grouping). For instance, don't have 2 styles each with the display order of '1' otherwise this hack will just show 'Style: ' and no style shown.

This hack will show each users current selected style when viewing a post.
If you want to see how this looks, take a look at the screenshot attached.

The style system is a little more complex than the vBulletin 2 one, but it's still pretty simple and straightforward.

My apologies if this has already been released! I must also note that all of this code is original, meaning I made it all myself, I didn't look at someone else's code if anyone was wondering, so that we don't play the 'blame game' later on.

NOTE: For those who are wondering, this hack adds NO EXTRA QUERIES to your pages! Meaning the load and processing time are about the same as usual, they don't change much

Okay anyhow, here we go:

Instructions

Open includes/functions_showthread.php and find
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

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

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

Open the postbit template (or postbit_legacy if you're using old-style postbits) and find
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Now add the following phrase:

Phrase Type: GLOBAL

Title: not_specified
Text: not specified

Title: style
Text: Style

All done!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	postbit_style_chosen.gif
Views:	882
Size:	1.6 KB
ID:	17639   Click image for larger version

Name:	postbit_style_unspecified.gif
Views:	731
Size:	2.1 KB
ID:	17640  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #61  
Old 25 Apr 2004, 17:29
Dan P. Dan P. is offline
 
Join Date: Sep 2003
Ok..I installed the hack and it shows - Style: ()
Reply With Quote
  #62  
Old 25 Apr 2004, 17:41
dutchbb dutchbb is offline
 
Join Date: Dec 2003
thanks but:

why does it show "Default Style" for some members and for others just the name of the default style??

Can this be changed?

And for some it shows no style at all?

ps: another prob: when I choose a style wich is not default I see "(not specified)" in users postbit who have choosen the default style.


So still some work to do with the default style for this hack I think.

Last edited by dutchbb; 25 Apr 2004 at 17:57.
Reply With Quote
  #63  
Old 25 Apr 2004, 17:53
Red Blaze's Avatar
Red Blaze Red Blaze is offline
 
Join Date: Jan 2003
Real name: Frank E.
If you get sytle: not specifed or something like go, go to your user cp, under options (I think) scroll all the way to the bottom, it should say "Forum Skin". Choose one of the skins, and save it.

Reason I believe it says Style not specified is because the database couldn't recognize it yet or something. So I believe you have to tell the database what style you're using.
Reply With Quote
  #64  
Old 25 Apr 2004, 18:02
dutchbb dutchbb is offline
 
Join Date: Dec 2003
You are right all problems I said are solved if all users choose anything accept "default"

But isn't there a better way to solve this?
Reply With Quote
  #65  
Old 25 Apr 2004, 18:04
Dan P. Dan P. is offline
 
Join Date: Sep 2003
It is the default that is causing the problem. All other members who chose different skins are showing up but those with the default are just showing ().

EDIT- Well, I'm a knoob I saw Gary's post #33 which explains what to do. I made the change and it shows up correctly.

Last edited by Dan P.; 25 Apr 2004 at 18:16.
Reply With Quote
  #66  
Old 28 Apr 2004, 15:19
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
The way to fix this is to make it so when a user selects a style in the quick dropdown menu on all pages, their selection would be saved in their user info. Otherwise it is just stored with a cookie. Regardless of whether or not someone has say "Default" or "Style A" selected in their UserCP, the hack will not show anything that they select in the dropdown menu. I think making the dropdown menu change the users style the same way it does in the UserCP is the next step for this hack, as that seems to be the problem.

Please fix.
Reply With Quote
  #67  
Old 01 May 2004, 05:45
kirupa kirupa is offline
 
Join Date: Dec 2002
Originally Posted by 006
The way to fix this is to make it so when a user selects a style in the quick dropdown menu on all pages, their selection would be saved in their user info. Otherwise it is just stored with a cookie. Regardless of whether or not someone has say "Default" or "Style A" selected in their UserCP, the hack will not show anything that they select in the dropdown menu. I think making the dropdown menu change the users style the same way it does in the UserCP is the next step for this hack, as that seems to be the problem.

Please fix.
Wow - I was about to mention this also. I thought it was an issue only that I noticed. Great hack Gary! If 006's suggestions are implemented, this will be one of the best hacks I have installed!
Reply With Quote
  #68  
Old 01 May 2004, 23:18
VitroX VitroX is offline
 
Join Date: Feb 2004
have been this hack tested on a vb 3.0.1?

I followed all the steps and it didnt show anything, not even the word "Style:"
Reply With Quote
  #69  
Old 17 May 2004, 14:54
The Wise One The Wise One is offline
 
Join Date: Jun 2003
is there a way to make this work in member.php? or do i need to take this to the modification/hack request forum?

edit:

i would like to display this info on the page where one goes to view a members profile...right underneath where the referrals are displayed...

Last edited by The Wise One; 17 May 2004 at 14:58.
Reply With Quote
  #70  
Old 05 Jun 2004, 15:15
Flow Fusion's Avatar
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Clicks install..thanks!
Reply With Quote
  #71  
Old 12 Jun 2004, 21:01
QATAR SPEED QATAR SPEED is offline
 
Join Date: Jun 2004
Originally Posted by 006
The way to fix this is to make it so when a user selects a style in the quick dropdown menu on all pages, their selection would be saved in their user info. Otherwise it is just stored with a cookie. Regardless of whether or not someone has say "Default" or "Style A" selected in their UserCP, the hack will not show anything that they select in the dropdown menu. I think making the dropdown menu change the users style the same way it does in the UserCP is the next step for this hack, as that seems to be the problem.

Please fix.

Hacks works great ... Thanks

But like 006 said if u can fix it with the dropdown menu it will be great ..
Reply With Quote
  #72  
Old 16 Jun 2004, 04:06
Titus Titus is offline
 
Join Date: Apr 2004
Originally Posted by VitroX
have been this hack tested on a vb 3.0.1?

I followed all the steps and it didnt show anything, not even the word "Style:"
I just installed it on a 3.0.1 board, works great.
Reply With Quote
  #73  
Old 16 Jun 2004, 10:10
alkahf alkahf is offline
 
Join Date: Mar 2004
Thumbs up Thank you!

Hacks works great on a 3.0.1 board ...

Thanks
__________________
www.vBulletinClub.com
Reply With Quote
  #74  
Old 23 Jun 2004, 01:52
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Originally Posted by alkahf
Hacks works great on a 3.0.1 board ...

Thanks
Great hack installed it now thnx

one problem.. it will (as suppoed) work with chosen style in usercp (from profile) but if the user changes style from within the forum (quick style chooser) it will not reflect on this hack, the hack will still show whats in the profile !!!

I hope it can read from elsewhere instead.. I am working on that
Reply With Quote
  #75  
Old 23 Jun 2004, 16:52
Big Kahuna's Avatar
Big Kahuna Big Kahuna is offline
 
Join Date: Feb 2002
I installed this a month or so ago -- and it worked great until last night when I installed the the avatar_opacity hack.

It appears that both hacks use style as a varible in addition to it also appearing to be a command. The avatar_opacity hack must define the style variable last as it works while the style a member uses is now left blank.

I tried to figure out how to rename the variable in this hack to once again display the style a member uses -- but I'm completely lost.

Please help.

Thanx
Reply With Quote
Reply


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

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 10:46.

Layout Options | Width: Wide Color: