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)

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.


All times are GMT. The time now is 04:10 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.01311 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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