View Full Version : Show Thread Enhancements - AdminFuel - Thread Starter
rockinaway
09-25-2009, 10:00 PM
Thread Starter v1.1
Simple modification that adds an image next to the thread starter's username.
This is my first modification, as I am not too sure with the vBulletin code. Please give me your feedback as it is a simple modification but I am sure it can be improved. Sorry for any code issues :)
Image thanks to FamFamFam
Installtion:
- Upload image provided to images/misc
- Upload threadstarter.xml folder to install product
- APPLY THE FOLLOWING TEMPLATE EDIT
In the postbit template you are using (default is 'postbit') add $thread_starter_img at the location you wish the image to be displayed.
Example
In the postbit template find:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
After add:
$thread_starter_img
Demo and Support: http://www.adminfuel.com
Thanks
rockinaway
Sador
09-26-2009, 11:12 AM
Congrats on your first mod. :)
Just tried to install this to be able to give you some feedback. It isn't too clear where you should add $thread_starter_img in the navbar template. Not everybody knows where they have to put the code to make it work, and if you put it at the wrong place, you'll get an annoying error when you want to view a topic.
Maybe you could add to your instructions where you have to place the code so the image will show up where you meant it to be?
4nawadir.com
09-26-2009, 11:58 AM
Nice mod , thanks ...
Installed ...
rockinaway
09-26-2009, 12:03 PM
Thanks for the feedback. It's intended for the postbit, I have updated the instructions here for a guide as to where to add it :)
Sador
09-26-2009, 12:17 PM
Fatal error: Call to a member function query_first() on a non-object in forum/includes/class_postbit.php(265) : eval()'d code on line 3
This is the error I get when enabling your product and visit one of my forums. First I thought it was because of the wrong place for the code, but it disappears when I disable your product.
But thanks for adding the example. :)
rockinaway
09-26-2009, 12:20 PM
Have you updated your vBulletin version? I was getting this error on my test board for some strange reason. As you can see, it works fine on the demo board.
Are there any other modifications you have installed?
Sador
09-26-2009, 12:25 PM
Have you updated your vBulletin version? I was getting this error on my test board for some strange reason. As you can see, it works fine on the demo board.
Are there any other modifications you have installed? It's the most recent version of vBulletin.
Yep, I do, a few. I've disabled all of them now to check if something is conflicting. I can now see my the forums again, but upon clicking a thread or trying to make a thread, I get that error message again.
rockinaway
09-26-2009, 12:29 PM
I am slightly confused with this, since I don't have that much experience with vBulletin I can't give you a solution right away using vBulletin code. I can give you one that should work in normal PHP code.
I will have to look into this as to why it won't work on certain boards.
Sador
09-26-2009, 12:31 PM
Don't worry about it, it's a testboard anyway. Hope you'll figure it out, it seems like a nice mod.
rockinaway
09-26-2009, 12:33 PM
Okays, I have posted a thread in the programming area for some help. I will post here as soon as I do get some information.
Thanks again :)
You can also go to my forum if you wish to get some other resources and help :)
erel34
09-26-2009, 01:03 PM
thanks
yahoooh
09-26-2009, 04:27 PM
demo plz
rockinaway
09-26-2009, 04:43 PM
Demo is at http://www.adminfuel.com
rockinaway
09-26-2009, 04:50 PM
Updated with less code. Much simpler and should now work anywhere. I am sorry about this, I am just not familiar with all the variables yet.
Thanks :)
Sador
09-26-2009, 05:10 PM
Updated with less code. Much simpler and should now work anywhere. I am sorry about this, I am just not familiar with all the variables yet.
Thanks :)It works now, nice job. :)
And don't worry about it, everybody has got to learn. Hope you'll continue to make nice mods.
rockinaway
09-26-2009, 05:28 PM
Thanks a lot :) Glad it works. I am starting off with the small edits to get things going and to learn the structure.
Thanks :)
Sador
09-26-2009, 05:33 PM
I'll gladly test again if you release another mod. Good luck! :)
Bubble #5
09-26-2009, 11:11 PM
Demo is at http://www.adminfuel.com
Sorry but people do not have all day to hunt around for an example of what this hack is supposed to look:o like. Please post a simple screenshot of what it looks like. Thank you.
Sador
09-27-2009, 12:00 AM
Sorry but people do not have all day to hunt around for an example of what this hack is supposed to look:o like. Please post a simple screenshot of what it looks like. Thank you. Here, because you've asked so nicely.
It ads a small image at each post of the topic starter.
Bubble #5
09-27-2009, 01:06 AM
It ads a small image at each post of the topic starter.
Thanks Sador :)
Isn't a pencil typically the 'edit' icon?
Sador
09-27-2009, 07:14 AM
Thanks Sador :)
Isn't a pencil typically the 'edit' icon? It is. But I can see how it could be thread starter as well.
You could of course change it to any kind of image by changing the image with the one you want. (I would make sure it's the same size though)
rockinaway
09-27-2009, 08:07 AM
Simply change the image :) It can be anything you wish
Arcade Fire
09-27-2009, 08:39 AM
Thanks, I chage the image for this other:
https://vborg.vbsupport.ru/attachment.php?attachmentid=104845&stc=1&d=1254044312
Install & Nominate! ;)
The Coon
09-27-2009, 12:29 PM
Works fine! Thank you!
104852
rockinaway
09-27-2009, 03:03 PM
Thank you :)
biagiovuolo
09-27-2009, 04:22 PM
Good luck!
Downloaded and installed ;)
rockinaway
09-27-2009, 04:48 PM
Thanks again :)
cupra
10-06-2009, 06:29 AM
hi and tnx for that mod, im wonder, that should also with vb 3.6x visions ?
cupra
10-06-2009, 03:30 PM
hi and tnx for that mod, im wonder, that should also with vb 3.6x visions ?
rockinaway
10-06-2009, 06:15 PM
I have not tested it on 3.6 versions, but I assume it would work as there aren't many edits.
Try it on a DEMO board first, and not your live board :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.