vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Simple Postbit by BOP5 (for VB 4.x) (https://vborg.vbsupport.ru/showthread.php?t=281513)

Trevor Matthews 04-16-2012 04:44 PM

Hi Joe

The mod is Here

Or did you need access to my forum as a member to see it working?

BirdOPrey5 04-16-2012 05:11 PM

That mod looks like it needs 3 postbit hooks-
postbit_start
postbit_messagearea_start
postbit_end

For start and end just paste this at the very top (and the other at the very bottom) of the postbit_simple_bop5_vb4 template.

Code:

{vb:raw template_hook.postbit_start}
Code:

{vb:raw template_hook.postbit_end}
Then paste this code
Code:

{vb:raw template_hook.postbit_messagearea_start}
right above this line in the existing template:
Code:

<vb:if condition="$post['title'] OR $show['messageicon']">
I guess I will add these hooks back in in the next update with on/off options for each.

Trevor Matthews 04-16-2012 05:41 PM

And that worked perfectly, thank you very much indeed.

I am sending some beer fund money via Pay Pal right now.

BirdOPrey5 04-16-2012 07:20 PM

Quote:

Originally Posted by Trevor Matthews (Post 2320667)
And that worked perfectly, thank you very much indeed.

I am sending some beer fund money via Pay Pal right now.

Big Thanks. :)

Trevor Matthews 04-16-2012 07:37 PM

My pleasure.
Can't beat the support you offer.

Dwarden 04-22-2012 08:18 PM

would be possible to made this usable per usergroup ?

let say i want one usergroup see simpler postbit than another usergroup

thanks

BirdOPrey5 04-22-2012 11:59 PM

Yes it's possible. Will try to get it in the next update.

ViViD 04-23-2012 10:11 AM

Hello,
May I request a feature for user to choose is he/she posting just a tiny comment or a long text? Therefore we will have a mixed thread with less blank areas when people post just some words.

BirdOPrey5 04-23-2012 10:56 AM

Not going to be part of this mod, sorry.

Alan_SP 04-23-2012 12:15 PM

Quote:

Originally Posted by Dwarden (Post 2322555)
let say i want one usergroup see simpler postbit than another usergroup

It just gives me an idea.

For example, we could create special usergroup that's joinable. And enable this mod to work with this usergroup and enable our users to join in it if they want simple postbit. So our users could choose if they want simple or full postbit. :)

Dwarden 04-24-2012 05:05 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2322596)
Yes it's possible. Will try to get it in the next update.

thanks for considering this, can't wait to see and test ;)

DirtRider 06-16-2012 01:24 PM

What I would like to see is if the actual user could have control over what he sees in the postbit, is this at all possible? Maybe having two settings in the users profile normal and condensed. The condensed setup by the admin as in your normal settings selecting what he would like the user to see in this setting.

Quote:

Originally Posted by Alan_SP (Post 2322741)
It just gives me an idea.

For example, we could create special usergroup that's joinable. And enable this mod to work with this usergroup and enable our users to join in it if they want simple postbit. So our users could choose if they want simple or full postbit. :)

I suppose this could also do the trick for me as well

BirdOPrey5 06-16-2012 02:24 PM

User control is of course possible, but it's not something I'm going to add to it. It is Re-Usable code- anyone is welcome to add features.

Nirjonadda 06-16-2012 02:44 PM

Does It Work Without Manual File Edit on 4.1.10 ?

BirdOPrey5 06-16-2012 06:26 PM

Quote:

Originally Posted by Nirjonadda (Post 2340074)
Does It Work Without Manual File Edit on 4.1.10 ?

Yes. 4.1.10 and above = no edits.

DirtRider 06-27-2012 07:28 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2322596)
Yes it's possible. Will try to get it in the next update.

Sorry to ask this but when do you expect the version to be out that will be based on usergroups. Just so I can give those users that want this an estimated time when I may be able to activate this option for them :)

BirdOPrey5 06-27-2012 01:35 PM

I have no estimate.

dougdirac 08-24-2012 04:54 AM

Nice looking mod. I don't understand why vB doesn't just do this for Groups and Blog comments. I can understand how they want Group discussions to be simpler, but it's annoying that I can't move forum thread posts to a group discussion or vice versa.

wilford brimley 08-26-2012 04:11 AM

how to keep avatars option? or when hover username the avatar is displayed in the popup. thanks

also, would be nice to have an option when creating threads to turn on simple postbit instead of having to cut and paste the ids into options.

BirdOPrey5 08-26-2012 02:36 PM

Quote:

Originally Posted by wilford brimley (Post 2360046)
how to keep avatars option? or when hover username the avatar is displayed in the popup. thanks

also, would be nice to have an option when creating threads to turn on simple postbit instead of having to cut and paste the ids into options.

Avatars are not an option.

wilford brimley 08-27-2012 04:35 AM

ok. damn. thanks.

wilford brimley 08-28-2012 06:23 AM

if you just tell me how to do it or reconsider adding the button in the mod id be gratefull and donate. i want to make simple postbits on a live threads for events so it is more like a chatbox. ill use a global threads mod instead and just do the simple post bit on the global forum until then.

xixxon 08-28-2012 10:24 AM

I love it, thank you very much.
*tagged*

BirdOPrey5 08-29-2012 04:51 PM

Quote:

Originally Posted by wilford brimley (Post 2360621)
if you just tell me how to do it or reconsider adding the button in the mod id be gratefull and donate. i want to make simple postbits on a live threads for events so it is more like a chatbox. ill use a global threads mod instead and just do the simple post bit on the global forum until then.

Basically go to the existing postbit_legacy template...

Search for the word "avatar"

Copy all the code surrounding it that is part of displaying the avatar...

Then go to the template from this mod, scroll down to about where the code came from the postbit_legacy template, and paste it in.

You will now have avatars in the simple postbit.

wilford brimley 09-01-2012 06:51 PM

Thanks a lot dude. tell me how to donate i will send you some paypal.

if anyone want to add my custom mod to this one here it is: this makes it so avatar in the first post is 150%/fills up the whole postbit, then the rest are all small at 75%
find:
Code:

{vb:raw row.rowend}
                                        </vb:each>
                                </span>
                        </vb:if>

after add:
Code:

<vb:if condition="$show['avatar'] AND $vboptions['bop5sp_showavatar']">
            <a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                <img style="width:<vb:if condition="$post[postcount] == 1">1</vb:if>75%" src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
                        </a>

                        </vb:if>

then go in simple post bit options in Admin CP and do "add setting"

leave all product info. call varname "bop5sp_showavatar"
name it Avatar?
do option as "yesno"

now you have option for avatars in simplepostbit mod.

wilford brimley 09-01-2012 07:17 PM

i added this in case anyone have vBookie installed and wants the vCash to show. this hook might show other stuff too, i dont know. in my forum its only vbookie.

in the simpel postbit template in master style

find
Code:

<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd></vb:if>
after add
Code:

<vb:if condition="$vboptions['bop5sp_showextra']">{vb:raw template_hook.postbit_userinfo_right_after_posts}</vb:if>
in simple postbit options: add setting. name var "bop5sp_showextra". name the other stuff whatever you want. options is"yesno" and now you have vbookie in the options (maybe other stuff too??)

BirdOPrey5 09-02-2012 01:30 PM

Thanks.

You can donate to me or most other coders on vBulletin.org by clicking on the "Support Developer" link at the top of a mod thread.

http://juotpics.com/pics/images/134s..._developer.jpg

wilford brimley 09-02-2012 05:50 PM

there seems to be a conflict where onmy the first post is shown on the default mobile style. how can i turn off thismod for.mobile.

wilford brimley 09-02-2012 05:53 PM

sent you a pp donation.

BirdOPrey5 09-02-2012 07:56 PM

Thank you for the donation.

And yes, you are right this mod was preventing posts from showing in mobile styles ever since vBulletin made the mobile style a master style.

To fix this I have released version 1.13 - the bottom option now lets you disable by style id.

Please put the styleid(s) of any mobile styles you have in the bottom setting box, comma separated if more than one.

wilford brimley 09-03-2012 04:39 AM

thanks. works great now, no problems on mobile.

sorry i keep adding shit. i just thought this might help other people.

this makes your mod compatible with "Thumbs Up?" mod

in masterstyle "postbit_simple_bop5_vb4" find
Code:

{vb:raw post.title}
                                </h2>
                                </vb:if>

after add
Code:

<vb:if condition="$vboptions['bop5sp_showthumb']">{vb:raw post_thumbs_box}</vb:if>
in admin cp>options>simplepostbit> addsetting
varname=bop5sp_showthumb
name=Show thumbs?
description= Show "Thumbs Up!" mod on posts.
options=yesno

moustafa 11-18-2012 04:45 AM

When i use this mod, it gives the required results but when i need to use other mods to give options for posts, they never show unless i disable this one, so what is the solution?

BirdOPrey5 11-18-2012 08:20 PM

I'm not really sure what you mean... You want more options to show on the simple postbit? The point of this is to strip as much as possible from the postbit.

It shouldn't be interfering with other mods, but if it is then I can only suggest you uninstall this mod.

Pure Dope 12-19-2012 03:23 AM

maybe each user will be able to turn on/off this setting in their settings in a future version?

Nirjonadda 12-27-2012 01:24 PM

How to Enable Show Avatar ? Please try to add Option Enable Show Avatar.

BirdOPrey5 12-29-2012 07:40 PM

Quote:

Originally Posted by Nirjonadda (Post 2393029)
How to Enable Show Avatar ? Please try to add Option Enable Show Avatar.

[s]See post #64: https://vborg.vbsupport.ru/showpost....2&postcount=64

But I will not be making Avatar an option because it defeats the whole purpose of this mod.[/s]

See this post - https://vborg.vbsupport.ru/showpost....2&postcount=80

Nirjonadda 12-29-2012 07:54 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=2360992&postcount=64" target="_blank">Post #64</a>:

I didn't understand How to manual editing? Please can You Clear More Details ?

Nirjonadda 04-26-2014 07:19 PM

BOP5, Please can i get update how to Enable Show Avatar?

Mark.B 04-27-2014 12:08 AM

Quote:

Originally Posted by Nirjonadda (Post 2494947)
BOP5, Please can i get update how to Enable Show Avatar?

Please see this response:
Quote:

Originally Posted by BirdOPrey5 (Post 2393442)
See post #64: https://vborg.vbsupport.ru/showpost....2&postcount=64

But I will not be making Avatar an option because it defeats the whole purpose of this mod.


BirdOPrey5 04-27-2014 07:42 AM

To add the Avatar to the Simple Postbit

Edit the postbit_simple_bop5_vb4 template.


Find the code:
Code:

                        <vb:if condition="$post['rank'] AND $vboptions['bop5sp_showrank']">
                                <span class="rank">{vb:raw post.rank}</span>
                        </vb:if>

Paste this code below it:
Code:

                        <vb:if condition="$show['avatar']">
                        <a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                                <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
                        </a>
                        </vb:if>



All times are GMT. The time now is 12:53 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
  • Page Generation 0.01324 seconds
  • Memory Usage 1,829KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete