Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
What Styles are we All using Details »»
What Styles are we All using
Mod Version: 1.00, by Freddie Bingham (vBulletin Developer) Freddie Bingham is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (4 votes - 5.00 average) Installs: 83
Released: 20 Jul 2001 Last Update: Never Downloads: 3
Not Supported  

This is a small hack that will show each users current selected style in showthread. For a demo just follow one of my links in my forum (chins & quills) and find your way to a thread.

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

add this after it on the same line
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

find this in showthread.php
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

add this after it on the next line
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

open up the postbit template and place this where you like
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Link it to whatever you want.

Download Now

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

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.
  #121  
Old 05 Apr 2003, 00:16
ryanhulce ryanhulce is offline
 
Join Date: Jan 2002
Reason it doesn't work in the latest vB is because it returns NULL as the StyleID which reverts to 0. When looking at the styles table it starts out at 1 not zero so what i did was add another style (not user selectable) and edit the table directly and change the ID number to 0. Now it works. I just called the style Default.

This could be a side effect of running VBPortal with VBulletin. I think VBulleting's Default of 0 is the standard VB Style but 1 is VBPortal's Default..

Last edited by ryanhulce : 05 Apr 2003 at 00:22.
Reply With Quote
  #122  
Old 05 Apr 2003, 22:18
Leah's Avatar
Leah Leah is offline
 
Join Date: Aug 2002
03-25-03 at 11:52 PM -Sidekick- said this in Post #119
any fix to the thing where clicking on the link doesn't update the style shown in your postbit?
I'd be interested in this too.
Reply With Quote
  #123  
Old 14 Apr 2003, 02:52
Airs's Avatar
Airs Airs is offline
 
Join Date: Oct 2002
04-05-03 at 02:10 AM ryanhulce said this in Post #121
Reason it doesn't work in the latest vB is because it returns NULL as the StyleID which reverts to 0. When looking at the styles table it starts out at 1 not zero so what i did was add another style (not user selectable) and edit the table directly and change the ID number to 0. Now it works. I just called the style Default.

This could be a side effect of running VBPortal with VBulletin. I think VBulleting's Default of 0 is the standard VB Style but 1 is VBPortal's Default..

how exactly do u do that? please help!.
Reply With Quote
  #124  
Old 20 Jun 2003, 10:32
RiP-Productions RiP-Productions is offline
 
Join Date: May 2002
Installed the hack on version 2.2.7 and I don't get any errors except that for some users the Style is not visible.

I used the latest version of the hack (the 1 where you had to replace / add 2 the same code.)

After you update the user (wich didn't show up in the threads) with the style (just hit save in Admin CP) the style is visible :surprised:

See the 2 screenshots below.



Reply With Quote
  #125  
Old 13 Aug 2003, 08:35
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Real name: Andy
04-03-03 at 10:36 AM AlexanderT said this in Post #120
Hack worked fine UNTIL vB2.3.0 Final.

Now, in 2.3.0 final, when user selects "Use Default Style" in his UserCP, the postbit part doesn't display any style name.
^ Bump :nervous:
Reply With Quote
  #126  
Old 06 Sep 2003, 00:32
Michael's Avatar
Michael Michael is offline
 
Join Date: Aug 2003
Real name: Michael
Could that be the same thing that is happening to me? Because there is no style showing up, look at my board: www.charmed-phoebe.com/forums
Reply With Quote
  #127  
Old 06 Sep 2003, 00:56
Michael's Avatar
Michael Michael is offline
 
Join Date: Aug 2003
Real name: Michael
Nevermind got it to work!!!
Reply With Quote
  #128  
Old 06 Sep 2003, 15:20
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Real name: Andy
Today at 01:56 AM Michael said this in Post #127
Nevermind got it to work!!!
Would you be so kind as to tell us how?
No matter how hard I try, anyone selecting "Use forum default" appears blank.
Reply With Quote
  #129  
Old 06 Sep 2003, 17:26
Michael's Avatar
Michael Michael is offline
 
Join Date: Aug 2003
Real name: Michael
To tell you, I have no idea what I did lol -- I just added the code or replaced it the two times it was in the template.
Reply With Quote
  #130  
Old 30 Dec 2003, 03:40
obsidian's Avatar
obsidian obsidian is offline
 
Join Date: Apr 2003
Real name: Barry
Just because I hate finding old hacks and not knowing if they work.... I just installed this on a VBPortal/ VB 2.3.0 site. I used the instructions posted here:

http://www.vbulletin.org/forum/showp...&postcount=118

The only exception was that for the last part that gets inserted into the template I ended up using:


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

This was because when I used the code originally listed it would dump me to a blank page. Other than that it installed in about 5 min. Great addon.
Reply With Quote
  #131  
Old 14 Jan 2004, 22:04
Red Blaze's Avatar
Red Blaze Red Blaze is offline
 
Join Date: Jan 2003
Real name: Frank E.
Works well for 2.3.2.

/me installs
Reply With Quote
  #132  
Old 19 Nov 2004, 13:23
Edison Chen Edison Chen is offline
 
Join Date: Oct 2003
Installed. Didn't work the first time but looked at the second page and it worked now. Beautiful.
Reply With Quote
  #133  
Old 16 Jun 2005, 12:03
who knows who knows is offline
 
Join Date: Jul 2004
Originally Posted by Sadie Frost
Make sure you've made the changes to showthread.php twice - the same code appears twice in that file. So you're really making 4 changes to it, not 2 That's what I did wrong at first.

That really helped . I didn't realize there was two places of the same code, lol. So i was puzzled why it wasn't working. Thanks!
Reply With Quote
  #134  
Old 18 Oct 2005, 06:43
ProperMethodz's Avatar
ProperMethodz ProperMethodz is offline
 
Join Date: Jan 2005
Real name: Richard Magnano
I am looking for this hack for 3.5. I have searched this site for:

postbit
showthread
Style Postbit
and a few others I can't quite remember.

Please... I've been looking and searching for weeks.
Reply With Quote
  #135  
Old 29 Jan 2006, 08:15
Lexina Lexina is offline
 
Join Date: Jun 2004
Originally Posted by Brianna
owheeee!! nice hack, but watch your case in PHP

that's probably your problem guys

my browser just went beserk ^_^

"as" in the first code should be "AS"
"on" in the second code should be "ON"
and
there should not be parenthesis around "user.styleid = style.styleid"

Well, I changed those three and it was working then, so that's my guess, that they should be this way, but I could be wrong of course
I'm gonna agree with you, worked like a charm after I edited and did as you said, capitlised! Do it if you are just getting the 'Style:' and no link
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 00:27.

Layout Options | Width: Wide Color: