PDA

View Full Version : Show Thread Enhancements - Thread Starter in Postbit for vB 4


Boofo
06-08-2010, 10:00 PM
Thread Starter in Postbit for vB 4
Version 1.0.3
(By Boofo)

What does this product do?
This will add a thread starter icon/text to the postbit. There are 4 locations to choose from (2 icon and 2 text). I know this had been done already, but I didn't like how it showed in the postbit. You do not have to have a signature for this to work. This product is just an upgrade to the manual template edit I have used in the past.

Note: This product was written using the postbit_legacy template and has not been tested on the postbit template, although it should work fine.

Version Information:
Version 1.0.0 --Initial release for vBulletin 4.0.0
Version 1.0.1 --Fixed to work for vB 4.0.4
Version 1.0.2 --Added 2 new locations with highlighted text.
Version 1.0.3 --All 4 options are now linked to the first post of the thread. Also fixed a template cache error that was showing up for PMs.

Installation Overview:
-----------------------------------------------------
1 Product XML (2 Plugins, 1 template, 7 phrases and 1 setting)
1 image file

Installation Instructions:
-----------------------------------------------------
1. Upload thread_starter.gif to the forums/images/misc folder on your site.

2. Go to your Admin CP
Scroll down to 'Plugins & Products'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-boofo_threadstarter.xml file on your computer

3. Go to your Admin CP -> vBulletin Options -> 'Thread Starter in Postbit' and set the following option:
--Show Thread Starter Icon/Text?: This will add the Thread Starter icon/text to your chosen location in the postbit.

--"No" will disable the Thread Starter icon/text from showing anywhere in the postbit. (Default)
--"Yes, Show icon under userinfo" will place the Thread Starter icon under the userinfo.
--"Yes, Show icon in message area" will place the Thread Starter icon at the top right of the message area.
--"Yes, Show text in button bar" will place the highlighted Thread Starter text in the button bar at the bottom of the post.
--"Yes, Show text in message area" will place the highlighted Thread Starter text at the top center of the message area.
-----------------------------------------------------

Done!
Enjoy!


if ($mark_as_installed != 'clicked')
{
$you_get = 'squat';
}
else
{
$you_get = 'support';
}

your24hourstore
06-08-2010, 10:29 PM
1st installed works great as i knew it would

Boofo
06-08-2010, 10:31 PM
Thank you, sir. ;)

wierdo124
06-09-2010, 02:36 AM
Needs a better image, anybody wanna make one?

Boofo
06-09-2010, 03:51 AM
You don't like the image, don't use it. I happen to like it and have been using it for a long time.

ViktorDA
06-09-2010, 07:21 AM
Thank you! Excellent!

KURTZ
06-09-2010, 09:21 AM
good hack Bobby ... ;)

Boofo
06-09-2010, 09:56 AM
KURTZ, it's waiting for you when you make the jump to vb4, sir. ;)

KURTZ
06-09-2010, 11:04 AM
KURTZ, it's waiting for you when you make the jump to vb4, sir. ;)

i think that in this week i'll make the jump ... :p (i've just renewed my vBSEO license so i'm ready ...)

Boofo
06-09-2010, 11:20 AM
Make sure you click the install buttons on whatever ones you install, in case there are updates.

KURTZ
06-28-2010, 05:52 PM
Make sure you click the install buttons on whatever ones you install, in case there are updates.

done :D

KURTZ
07-30-2010, 10:55 AM
hey Bobby, i would suggest you a nice feature (obviously if you can do it): can you add a button instead the word (i mean 'thread starter') that links to the first post? this allow the users to get a better navigation ...

lostpond
07-30-2010, 11:21 AM
Not showing up on 4.0.5, i will use it as soon as there is an update ;)

Boofo
07-30-2010, 11:37 AM
Not showing up on 4.0.5, i will use it as soon as there is an update ;)

I'm using it in 4.0.5 just fine. Are you using a custom skin?

lostpond
07-30-2010, 12:24 PM
yes i do, i have a new misc directory and i checked that the image is in both directories (just to be shure). i also tested the default skin, but there is nothing showing up. i tested all 4 options but i dont get a message or a image.

Boofo
07-30-2010, 12:40 PM
yes i do, i have a new misc directory and i checked that the image is in both directories (just to be shure). i also tested the default skin, but there is nothing showing up. i tested all 4 options but i dont get a message or a image.

I could take a look at it and see what I can figure out but this mod is pretty straight forward and definitely works on 4.0.5. If you want me to look at it, PM me the details and we can go from there.

Boofo
07-30-2010, 12:41 PM
hey Bobby, i would suggest you a nice feature (obviously if you can do it): can you add a button instead the word (i mean 'thread starter') that links to the first post? this allow the users to get a better navigation ...

A button is just an icon with text. I have linked all 4 options to the first post now. I will update the first post shortly.

KURTZ
07-30-2010, 01:23 PM
A button is just an icon with text. I have linked all 4 options to the first post now. I will update the first post shortly.

awesome Bobby! :)

just a Q: why in the APM i haven't the phrases and the product's options?

lostpond
07-30-2010, 01:23 PM
@Boofo, forget about it, i installed + deinstalled + installed + deinstalled + .. and now its working ;)

Boofo
07-30-2010, 03:12 PM
awesome Bobby! :)

just a Q: why in the APM i haven't the phrases and the product's options?

Thread starter is a vbulletin phrase. And the options are there at the bottom of the APM product page.

Boofo
07-30-2010, 03:14 PM
@Boofo, forget about it, i installed + deinstalled + installed + deinstalled + .. and now its working ;)

Glad you got it working. ;)

BadgerDog
07-31-2010, 03:52 PM
Installed ... thanks .. :)

Regards,
Badger

miket1234
08-23-2010, 11:23 AM
good job
instaled and nominated

Bigj85
08-23-2010, 05:34 PM
works perfect,thanks :)

hiker
09-21-2010, 04:35 AM
Hi, I think this is the mod I'm looking for but I need to customize it a bit. Instead of counting all of the threads started by a user, I'm only interested in a certain Thread Prefix started by the user.

I have a prefix of "Trip Report", the Prefix ID is Trip_Report.

Is it possible to only show the "Trip Report" threads that have been started per user, and to make that a clickable link to those threads?

Thank you very much if you can help me on this. :)

ChangeFive
09-23-2010, 03:17 AM
Marked as installed and thanks!

If I wanted to change the alt and title information when hovering over the image to "Original Poster", how would I do that?

Would it also be possible to put in a new position directly under the poster's username?

Boofo
09-23-2010, 04:00 AM
Marked as installed and thanks!

If I wanted to change the alt and title information when hovering over the image to "Original Poster", how would I do that?

Would it also be possible to put in a new position directly under the poster's username?

You would need to change this in the boofo_ts_postbit template to whatever you want it to say:

alt="{vb:rawphrase thread_starter}"


There is no hook right under the username. Otherwise, I would have added a location for it there.

ChangeFive
09-24-2010, 02:08 AM
Thanks for the help!

hiker
09-24-2010, 01:08 PM
Hi Boofo, any advice for my question about prefixes?

Thanks.

Boofo
09-24-2010, 05:08 PM
Hi Boofo, any advice for my question about prefixes?

Thanks.

There is no way to do what you are asking with this mod. This works only in the postbit, not the showthread.

hiker
09-24-2010, 06:34 PM
There is no way to do what you are asking with this mod. This works only in the postbit, not the showthread.

I would like the data to display in the postbit. Rather than displaying ALL threads this user has created, I'd like it to only filter the threads with that specific prefix.

The prefix is Trip_Reports, so rather than saying:

Threads : xx

I'd like it to read

Trip Reports : xx

So it's basically the same purpose, but showing quantity of the certain type of thread they have created.

I hope I've explained myself better.

Thanks.

Boofo
09-24-2010, 06:52 PM
This only shows the thread starter. You want the "Threads Started by User in Postbit and Profile for vB 4" hack for that.

hiker
09-24-2010, 07:42 PM
This only shows the thread starter. You want the "Threads Started by User in Postbit and Profile for vB 4" hack for that.

Ah, ok. Thanks for the tip.

hiker
09-25-2010, 03:23 AM
This only shows the thread starter. You want the "Threads Started by User in Postbit and Profile for vB 4" hack for that.


Dang, it's for 4.0.3 and I've got 4.0.2. I checked your other similar mod:
https://vborg.vbsupport.ru/showthread.php?t=151844
but that's for 3.6.x

Got anything in between? :confused:

Boofo
09-25-2010, 06:59 AM
Dang, it's for 4.0.3 and I've got 4.0.2. I checked your other similar mod:
https://vborg.vbsupport.ru/showthread.php?t=151844
but that's for 3.6.x

Got anything in between? :confused:

Check my profile. The one I did can be used and 4.0.2 just fine. Just change the 4.0.3 to 4.0.2 in the xml file.

Blooded
10-18-2010, 01:00 PM
Thanks a lot all your mods are fantastic :)

dondavis
12-11-2010, 06:33 PM
what about 4.1?

Willy T
12-13-2010, 12:45 AM
Anyway to limit this modification to specific forums? If so, I can use this mod with a quick edit =)

Boofo
12-13-2010, 01:22 PM
Thanks a lot all your mods are fantastic :)

You might want to click the install button in case there are any updates in the future.

what about 4.1?

Have you tried it? Works fine for me.

Anyway to limit this modification to specific forums? If so, I can use this mod with a quick edit =)

I suppose that could be added easily enough but I don't plan on doing it as I have no use for something like that.

dvsDave
06-13-2011, 02:46 PM
You wouldn't still have the original instructions would you? I have some seriously customized postbits and the xml file doesn't seem to work for me.

Boofo
06-13-2011, 02:56 PM
You wouldn't still have the original instructions would you? I have some seriously customized postbits and the xml file doesn't seem to work for me.

Just look in the xml file and it will show you where each piece of code goes.

dvsDave
06-13-2011, 03:04 PM
I see the code, but I'm having trouble figuring out where to insert it in the postbit.

Boofo
06-13-2011, 03:15 PM
You need to look for the template hooks in the code where I insert it:

$template_hook['postbit_userinfo_right_after_posts']
$template_hook['postbit_controls']
$template_hook['postbit_messagearea_start']

dvsDave
06-13-2011, 05:01 PM
Thanks much! Turns out I had forgotten to flush my cache after loading the product so the template edits were actually not needed! :eek:

Boofo
06-13-2011, 05:05 PM
Ah, so you are running a server cache, I take it? If I had known that I could have saved you some grief.

dvsDave
06-13-2011, 05:12 PM
If I had remembered that I had a cache running, I would have saved myself the grief! But I jumped to the wrong conclusion. I've done some serious customization of the postbit template, laid out here: https://vborg.vbsupport.ru/showthread.php?t=250423 and just thought that it was the cause of the issue, instead of thinking about the cache.

Boofo
06-13-2011, 05:37 PM
The best way to handle things like that is to make sure the hooks are in the template. If they are, then it has to be something else causing the issue, as you found out.

COL NIL SATIS
06-14-2011, 01:25 PM
Nice work Boofo

adiabatic
06-21-2011, 07:02 AM
Hi,

when edit a post were the threadstarter icon i visible to the left, it breaks the quick reply box.

Any idea?

vB 4.1.3 - postbit

Boofo
06-21-2011, 08:36 PM
Hi,

when edit a post were the threadstarter icon i visible to the left, it breaks the quick reply box.

Any idea?

vB 4.1.3 - postbit

Post a pic here so I can see what you are talking about.

adiabatic
06-24-2011, 05:46 AM
I have a custom pic but the same goes for default.

Boofo
06-24-2011, 11:38 AM
I have a custom pic but the same goes for default.

Ok, I see what you mean now. I will look into when I have a few minutes.

I do like the custom pic though. Willing to share it?

adiabatic
06-28-2011, 10:17 AM
Here you are Boofo
http://bareblogg.no/images/styles/AestheticaRed/misc/thread_starter.gif

You can see it live here - http://bareblogg.no

adiabatic
07-06-2011, 07:07 AM
Boofo, any news about the fix?

avsunforum
07-08-2011, 04:54 PM
thank you boofo ;)

Luca_ITA
01-03-2012, 06:23 PM
work fine on vb4.1.9, thx!

gedsta
02-15-2012, 02:21 PM
Installed and working well.

Is there any chance you could please tell me where to look for the colour of the background bar so as I can change it?

The yellow looks a little out of place.

Thanks.

mgurain
05-23-2012, 10:34 PM
It's working on 4.2, but shouldn't this be upgraded ?

Regards,,

Boofo
05-23-2012, 10:41 PM
Why? If it works it works.

mgurain
05-24-2012, 05:32 AM
To test and confirm for people that it's compatible with 4.2 .

Boofo
05-24-2012, 06:10 AM
You had doubts? ;)

New Joe
05-24-2012, 06:10 AM
Installed and works as it should on vb 4.2.0

Athena1984
05-24-2012, 09:11 PM
Cool Mod! I didn't even know I needed this until I stumbled upon it. Thanks!

Boofo
05-24-2012, 09:27 PM
You're very welcome. ;)

mgurain
05-25-2012, 10:15 AM
Thanks Boofo, we are using this long time,
but could you please upgrade it to be fully compatible with 4.2, so that people know it's tested in latest vb version ?

Although it's working fine in 4.2.

Regards,,

Boofo
05-25-2012, 03:09 PM
I don't see any sense in upgrading it as it already works on the latest version on vb. I only release updates when something needs to be changed or fixed.

ywwz
07-10-2012, 11:11 AM
Works very good on 4.2.0

generalpatton
12-06-2012, 01:35 PM
works great on 4.2.0 PL2

RedPoint
01-31-2013, 06:47 PM
Run on cwr.ro vBulletin 4.2.0 Patch Level 3
Thanks

datoneer
05-09-2013, 05:51 PM
Doesn't work on my forum 4.2.1

RFViet
05-18-2013, 08:39 PM
Is it supposed to show in the 1st post ? if it is not, how do I make it shown in the 1st post ?
Thanks,

datoneer
05-22-2013, 06:55 PM
Any solution how to fix this?

DemOnstar
07-14-2013, 12:18 PM
Seems to work in 4.2.1..

I guess we don't need it in the first post, because that may well be the person who started the thread right?

Great stuff...

DemOnstar
07-15-2013, 11:27 AM
Why does the icon show more than once?

The further I go through the thread, the more times the icon shows...

Does it correspond with the number of threads created?

Thanks...

New Joe
07-15-2013, 11:35 PM
Why does the icon show more than once?

The further I go through the thread, the more times the icon shows...

Does it correspond with the number of threads created?

Thanks...

That's how it should work, the Thread icon should show each time the poster who started the Thread posts replies. So everyone posting knows that poster is the one who started the Thread.
Many times after a few pages you forget who started the Thread, this way you know that the a certain poster who is replying is the 'Thread Starter' :D

DemOnstar
07-16-2013, 04:22 AM
That's how it should work, the Thread icon should show each time the poster who started the Thread posts replies. So everyone posting knows that poster is the one who started the Thread.
Many times after a few pages you forget who started the Thread, this way you know that the a certain poster who is replying is the 'Thread Starter' :D

Maybe you are right, maybe you are wrong...?

I think it has something to do with another mod.. I have the same issue with thumbs.
If you check the picture, you will understand more.

Bubble #5
09-11-2013, 11:13 PM
This was my favorite "Thread Starter" hack but lately it has been acting up.

Using 4.2.1 - and now every time the tread starter replies in the tread an EXTRA thread starter indicator is added.

So if it's the 3rd time they've responded in the thread, you see the thread starter icon 3 times, if it's the 5th time they've responded in the thread, you see the thread starter icon 5 times, etc.. See screenshot.

Any idea on how to resolve this? :confused:

DemOnstar
09-12-2013, 07:06 AM
Any idea on how to resolve this? :confused:

I had a similar issue. Then I went to the plug in manager and disabled all but the thread starter plug in and the issue was resolved. I then enabled each plug in 1 by 1 until I found the conflict.

Bubble #5
09-12-2013, 07:35 AM
I had a similar issue. Then I went to the plug in manager and disabled all but the thread starter plug in and the issue was resolved. I then enabled each plug in 1 by 1 until I found the conflict.

Thanks DemOnstar :up: I actually deleted it and made my own. I placed the image under where ranks is and it looks really nice.

DemOnstar
09-12-2013, 12:54 PM
Thanks DemOnstar :up: I actually deleted it and made my own. I placed the image under where ranks is and it looks really nice.

Clever chap..... Happy to hear that the mod is still workable....

Inked_Mono
04-12-2016, 07:19 AM
Sorry to bump this from years back, but is there any way to also show the "Thread Starter" image in the very first post of the thread?