![]() |
Mist
That bit of code should be seen twice in showthread, add the extra in there where you see it both times and it will work great :D |
It doesnt work, and I have made sure that I have added it to both lines, and added the Second part as well in both places...
I added it to the postbit template, and it just refuses to work at all! Not even a "Style: " appears! Any clues? Satan |
Hey what I would suggest is that you check all the files that you have changed to make sure that all the code has been added...
I have installed this 3 times after upgrading VB and haven't had any problems.. :D lmk how you get on.... |
Hey all
Ignore :) Will try this on my forum :) wish me luck :) |
someone should update the main page, and say u have to enter those codes Twice in the showthread.php
-edit- ok, using 2.2.5, and heres the problem, when i log in i go to options and change my style, and it doesnt change, but if i veiw a post it says im on the new style, but im not, doesnt happen everytime, and usually if i change again, it will weird, any ideas? |
the hack works with 2.2.5 no problem
Open showthread.php and find this (it shows up two times): Code:
attachment.attachmentid,attachment.filename,attachment.visible AS attachmentvisible,attachment.counter Code:
attachment.attachmentid,attachment.filename,attachment.visible AS attachmentvisible,attachment.counter,style.title as styletitle find this in showthread.php (it shows up two times): Code:
LEFT JOIN user ON user.userid=post.userid Code:
LEFT JOIN style on (user.styleid = style.styleid) open up the postbit template and place this where you like: Code:
Style: <a href='index.php?styleid=$post[styleid]'>$post[styletitle]</a> done |
I have a prob, users are complaining that its not showing there correct style, they changes styles and it dosnt update. This is because they sued the "skin selector" hack to change their style, anyway to get it to update ?
|
I'm having a problem with this hack, seems to have occured after I updated to 2.2.6, though I think one of my members reported it to me before the upgrade also..:(
For some reason the style show in the postbit only shows for certain people, and not everyone. I have no idea what could be the cause of this, as I reinstalled the hack to make sure everything working perfect. See attachment for what I mean, and look in the last post. |
hmmm, i did exactly what i had to do and i get this:
(using 2.2.3) Parse error: parse error, expecting `']'' in /usr/home/a/c/acforums/public_html/admin/functions.php(431) : eval()'d code on line 43 Parse error: parse error, expecting `']'' in /usr/home/a/c/acforums/public_html/admin/functions.php(431) : eval()'d code on line 43 Parse error: parse error, expecting `']'' in /usr/home/a/c/acforums/public_html/admin/functions.php(431) : eval()'d code on line 43 Parse error: parse error, expecting `']'' in /usr/home/a/c/acforums/public_html/admin/functions.php(431) : eval()'d code on line 43 Parse error: parse error, expecting `']'' in /usr/home/a/c/acforums/public_html/admin/functions.php(431) : eval()'d code on line 43 Parse error: parse error, expecting `']'' in /usr/home/a/c/acforums/public_html/admin/functions.php(431) : eval()'d code on line 43 |
ok, I did everything, all it shows in the Postbit is..
" Style: " Any Help?? |
ok, nevermind, I got it to work! :)
|
Thanks for the great hack, freddie! It's working great here. :)
|
doesnt work, after you put the four edits you get a mysql error, it doesnt work for vbulletin2.2.6
|
Database error in vBulletin 2.2.6:
Invalid SQL: SELECT post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath, attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter,style.title as styletitle ,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline FROM post LEFT JOIN icon ON icon.iconid=post.iconid LEFT JOIN user ON user.userid=post.userid LEFT JOIN style on (user.styleid = style.styleid) LEFT JOIN avatar ON avatar.avatarid=user.avatarid LEFT JOIN customavatar ON customavatar.userid=user.userid LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid WHERE post.postid IN (0,13572,14921,14993) ORDER BY dateline mysql error: Unknown table 'userfield' mysql error number: 1051 Date: Wednesday 24th of July 2002 03:28:33 PM Script: http://www.mysite.com/wf/wf/showthre...?threadid=1203 Referer: http://www.mysite.com/wf/forumdisplay.php?forumid=9 |
i put all four edits in
|
i still just see "stlye:" nothing comes after it!!!!!!!!
|
Quote:
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 |
[QUOTE]Originally posted by Brianna
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 |
Quote:
|
An Admin on my site (AIM: M3Kamikaze) modified this hack to show which styles we are all using in showgroups.php (Forum Leaders Page).
He added it to showgroups.php by doing the following: Open showgroups.php and find: Code:
// get administrators & super moderators ********************************************************** Code:
, style.title as styletitle Code:
// get moderators ********************************************************** Code:
, style.title as styletitle Code:
LEFT JOIN user ON (usergroup.usergroupid = user.usergroupid) Code:
LEFT JOIN style on (user.styleid = style.styleid) Code:
LEFT JOIN user ON (user.userid = moderator.userid) Code:
LEFT JOIN style on (user.styleid = style.styleid) Code:
$user[styletitle] This was tested & has worked on vBulletin v.2.2.6 |
Clicked install. :)
|
begin 666 Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ What Styles are we All using .eml
M2&]I:&]I+@T*#0I):R!B96X@965N('!A87(@=V5E:VIE<R!M970@=F%K8 6YT M:64N#0I(970@:V%N(&1U<R!E=F5N(&1U<F5N(&5E<B!J92!E9 6X@86YT=V]O M<F0@:W)I:F=T+@T*06QS(&AE="!V<F%G96X@>FEJ;B!O=F5R( '-A=&5L;&EE M="!O9B!S871E;&QI=&5F=6XL#0IS8VAR:6IF(&1A;B!D96YK= &5N:T!S871E M;&QI=&5F=6XN;W)G(&5E;B!B97)I8VAT:F4N#0H-"DES(&1I="!B97)I8VAT M('-P96-I86%L(&)E9&]E;'0@=F]O<B!M:6H@>F5L9BP-"F1A;B!K<FEJ9R!J M92!V86YZ96QF(&5E;B!A;G1W;V]R9"!A;',@:6L@=&5R=6<@8F5N+@T*#0I4 8;W0@>FEE;G,N#0H-"D)L86-K(%1I9V5R ` end |
begin 666 Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ What Styles are we All using .eml
M2&]I:&]I+@T*#0I):R!B96X@965N('!A87(@=V5E:VIE<R!M970@=F%K8 6YT M:64N#0I(970@:V%N(&1U<R!E=F5N(&1U<F5N(&5E<B!J92!E9 6X@86YT=V]O M<F0@:W)I:F=T+@T*06QS(&AE="!V<F%G96X@>FEJ;B!O=F5R( '-A=&5L;&EE M="!O9B!S871E;&QI=&5F=6XL#0IS8VAR:6IF(&1A;B!D96YK= &5N:T!S871E M;&QI=&5F=6XN;W)G(&5E;B!B97)I8VAT:F4N#0H-"DES(&1I="!B97)I8VAT M('-P96-I86%L(&)E9&]E;'0@=F]O<B!M:6H@>F5L9BP-"F1A;B!K<FEJ9R!J M92!V86YZ96QF(&5E;B!A;G1W;V]R9"!A;',@:6L@=&5R=6<@8F5N+@T*#0I4 8;W0@>FEE;G,N#0H-"D)L86-K(%1I9V5R ` end |
installed.
thanks a lot. |
Nice, thanks Freddie :)
|
for some reason it shows the wrong style that i am using. i follwed the instructions exactly. i did do the 2 edits in the 2 places.
can ne1 help me |
Works great. :) 2.2.8.
Thanks. |
installed it but it wont display in the postbit :( Im sure I installed ir right.. does this hack have any problems with vbb 2.2.6 or something?
|
Does anything display at all ?
Well i got another Problem , the displayed Style does only change if the User selects the new style in his profile . When he just clicks the Link (from another Users Profile) his own Display doesnt show the new Style ... any suggestions ? Edit : the Problem is that the link doesnt change the php-variable , how do u do that ^^ doesnt work here either hehe |
Nice one. :)
|
anyone got this working in 2.2.9
can't get it to show in the postbit.... thx |
PHP Code:
|
[QUOTE]Originally posted by Graphics
for some reason it shows the wrong style that i am using. i follwed the instructions exactly. i did do the 2 edits in the 2 places. can ne1 help me |
I couldn't get this to work on v2.2.9 either.
It just shows "Style:" and then nothing in my postbit. |
Once I added both lines of code in both places in Showthread, it worked like a CHARM. Kickass.
|
Is it any bit possible to hack online.php so that as an Admin, you don't get:
Unknown Location: /showthread.php?styleid=4&postid=24564 When people (members/guests) are browsing a thread using the $userstyle link ? (and thus also that when non-admins check the WOL, they won't see "Viewing $bbtitle Main Index" nor "Viewing attachment in thread ...." but that it properly displays which thread they are browsing) I've tried several times to hack online.php but it's just not working :( Can't work on it long enough to get the full overview well enough in my head to see the solution.. :( |
Since freddie has obviously abandoned this topic, I'll have to take a pitch at the dark and see if I get any answers :D
Okay, so I installed this hack (the updated version with the two edits in two places). Those who can't get it to show, here are two things to check: 1.) Make sure the style you want to show is user selectable. You can double-check this in the admin cp > styles > modify > properties 2.) Make sure that you "Allow Users To Change Styles" in the vbulletin options in your admin cp. So anyway, here's the glitch I have in 2.2.8: It works for styles other than the Default. But since my default style is using the template set and replacement set of another style, it doesn't seem to show up. Only when users choose a style in the user cp do will it appear, but the style will come out blank for users who are using the default style. This is probably along the lines of what VeloCD has observed in his own forums. Anyway, I dunno if it makes sense or not, but I'm gonna hold off on installing this one (maybe never) until it works :D |
works great on vb 2.3.0 also, I have used it since this came out, on each version since then, I followed my instructions I posted above, and it worked for 2.2.9 and 2.3.0
PHP Code:
|
any fix to the thing where clicking on the link doesn't update the style shown in your postbit?
|
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. |
All times are GMT. The time now is 04:17 AM. |
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:
|