vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Chief First Post - Every Page - 3.6.x (https://vborg.vbsupport.ru/showthread.php?t=156141)

FireFish 09-30-2007 11:12 PM

This is a great mod & I like the ease of installation as well as the way it works.

However, I disabled it & see I cannot use it until you add Usergroup Permission controls to it.

I as a Forum Admin would like to be able to use this as an option when starting threads, but don't necessarily want others to be able to.

Is anyone else with me on this?

Freesteyelz 09-30-2007 11:59 PM

At FireFish:

I haven't tested it but I know with a conditional you can hide the ability to change template based on Usergroup. The conditional is:

Code:

<if condition="is_member_of($bbuserinfo, 6)">
postbit_select code here
</if>

In postbit_select, you would add the first <'if" at the top and at the very bottom add the ending "</if>".

If you want to add Usergroups just add a "," (e.g., 6,5,7) then the Usergroup ID #. See if that works.

CarpHunter 10-02-2007 04:56 AM

I really love this hack so I use it alot.

There is one little thing that bugged me and that was the wierd positioning of the "editted msg"
In the article postbit it is placed really wierd so I fixed it a little to make it better looking.
See the attached images what I mean.
The first was how it looked at first. The second is how it looks after.

I also Fixed what I think is a bug that caused the word Rating and a "(" and a ")" (don't know the english words for them sorry :o ) to show without rating being given to the thread.
The third screen shows you the rating "bug"
The fourt is w/o rating and the fifth with rating after the fix.

Because I don't know if it is as designed I included 2 XML files.
One with only the edit msg fix and one with both the edit msg fix and the rating fix.

Hope this is ok by Atakan OCK :)

mvigod 10-02-2007 01:33 PM

I like that better as well. Is the only difference in the postbit article template? Wouldnt it be easier to just copy the template code from the xml and manually paste it in the postbit article template? I have made some changes to the order and added <if conditions>. Installing from this XML will overwrite those.

CarpHunter 10-02-2007 07:51 PM

Thats also possible. If needed I can give the template in txt file.

I also noticed something when I made this.
Some styles use empty rating starts or other images for rating display. The standard vB skin has an empty gif for the 0 rating picture.
I will make a new version later that suites those rating pictures better (then the text Rating is neede or else the pictures look out of place)

elmati 10-02-2007 09:03 PM

anyone fix out the quick edit bug?

if you quick edit the first post for an article thread the postbit automatically change to default postbit... i dont really know how to fix out that...

Atakan KOC are you there? :)

mvigod 10-03-2007 03:08 PM

If you have the order to set default as postbit legacy or postbit, the quick edit will assign default. I just make sure that if I am editing an article, I always go into the advanced and ensure I reselect article.

elmati 10-05-2007 02:24 AM

yeah, i go to advanced edit too, but users forgot and keep using quick edit that it's more easy...

i need a way to keep the postbit using post quick edit... maybe an update would be nice :)

Michael2 10-05-2007 04:36 PM

Sorry this is slightly unrelated to the hack but can you tell me how to make my postbit look like this...

https://vborg.vbsupport.ru/attachmen...6&d=1187968602

I don't really need the mod but I love the way that postbit looks. :)

rapidphim 10-05-2007 07:44 PM

You need to hack the mod to have that postbit look


All times are GMT. The time now is 11:56 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.01114 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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