![]() |
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: Code:
attachment.attachmentid,attachment.filename,attachment.visible AS attachmentvisible,attachment.counter Code:
,style.title as styletitle Code:
LEFT JOIN user ON user.userid=post.userid Code:
LEFT JOIN style on (user.styleid = style.styleid) Code:
Style: <a href='index.php?styleid=$post[styleid]'>$post[styletitle]</a></smallfont> |
cool, hack, I will give it a try
thx freddie snyx |
Nice little hack !:D
Thx dude |
hmmm i saw rangersfan on my forum earlier today :)
i got a similar code on my forum http://animeboards.com/t21182/s.html but can't remember where or who i got this from hehe |
|
works well.
Thanks. eva2000: you said is a styleid,but this hack can display a styletitle.:D |
Quote:
i like styleid better since someone may have a very long styletitle and mess with postbit's cell widths |
[QUOTE]Originally posted by eva2000
hmmm i saw rangersfan on my forum earlier today :) i got a similar code on my forum http://animeboards.com/t21182/s.html but can't remember where or who i got this from hehe |
Quote:
|
just looked at your page and I have a small suggestion
you style hack points back to the main forum page. why not have it point to the current thread so when you click it, the same page is loaded in that style instead of sending you away fromt he thread you were reading. http://www.chins-n-quills.com/forums...9184&styleid=1 http://www.chins-n-quills.com/forums...9184&styleid=7 |
You may do that if you wish, I had thought about it but didn't get around to doing it.
|
If you want to do that than link to this:
<a href='showthread.php?styleid=$post[styleid]&postid=$post[postid]&s=$session[sessionhash]#post$post[postid]'>$post[styletitle]</a> |
I made a simple hack to show statistics what is the user's choice of the style.
At the same time anyone can change the style for the current session by one click . It's here . Sorry, all pages in Russian. But you need not read, just take a look.;) |
Thanks, it's working great but my default style isn't listed....just my 2nd stlye shows up.
http://www.thegenomecollective.com/forum/styleeg.gif Any ideas on how to have the default style listed? I use a custom style as my default and allow ppl to choose the vBulleting style from their profile. |
Hi
I am having trouble geting this hack to work since I have upgraded to 2.0.3. I have re-installed the hack? Should this work with this version? Thanks Mark |
Same here.
|
Hi
I can get this hack to work with 2.0.3 if I upload the old v2.0.0 showthread.php when I do this I loose all of the page navigation? The hack still works on your board Freddie, what do I have to do to get it working??? Thanks Mark |
The code is now in the second function in functions.php.
|
Found it
There are two places where the code can be added in the showthread.php file, the first piece of code go on line 307 not line 54. the second goes on line 374 not line 58. It then works again. Mark |
Can someone please tell how to incorporate this into v 2.0.3??!!
i got confused but the whole functions.php thingie :) thx. |
Ummm...can someone please explain how to get this working with 2.0.3? The code was in showthread, but I edited like it said and it didn't work. I looked in functions.php for the code and didn't see it in it.
|
Yes I cannot get this to wokr with 2.0.3 either any help?
|
Got it, everyone needs to read carfefully. the shot part with commas has to be added to the end of the line you find. You do this twice. Then you find the other line in showthread twice and both times you add that text below it on the next line. I hope this helps.
|
Quote:
could you give this hack ? |
Quote:
|
thanks :)
|
this doesn't work with 2.2.0 :o
|
Ya it does... Im using it now... :p
-Syphin |
Quote:
|
Code:
attachment.attachmentid,attachment.filename,attachment.visible AS attachmentvisible,attachment.counter Code:
LEFT JOIN user ON user.userid=post.userid If you meant this one, Did you make sure to add the code on the second set of coding? Cuz they show up twice in the code.. -Syphin |
i add in the two set,
only in the fisrt, only in the second and nothing appears |
well it shows info only for me because i'm the only one who change my style i will see later if the others will be shown
|
man I can't get this hack to work help
|
it doesn't work with me :(
|
Installed and all working
Looks great Thanks :D |
I'm trying to install the Style ID hack....everything is fine except for it doesn't show the actual style that the person is using. It has the Style: but no style. Go to www.ConsoleBoards.com and take a look for yourself. Any suggestions as to what's wrong/what to do?
EDIT: Nevermind, we got it to work! Nice hack! :cool: |
Installed here, looking great. :)
|
if i only have one style and this hack can show up in postbit??
i use this hack and it not show up is it normal?? |
I love this hack - thanks so much! :)
|
it would be great to have this available in the member profile
|
All times are GMT. The time now is 04:47 PM. |
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:
|