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)
-   -   Miscellaneous Hacks - Thread Prefixes (https://vborg.vbsupport.ru/showthread.php?t=123033)

COBRAws 04-16-2007 03:49 AM

Next version/release should include this "mod": https://vborg.vbsupport.ru/showthrea...hreadid=144982

redlabour 04-16-2007 06:08 AM

Please include this at Update : Change Threads Prefix Inline

pxd 04-16-2007 09:38 AM

Fantastic hack. Cheers!

dbirosel 04-19-2007 07:40 PM

how do i remove the Prefix Category from the New Posts?

Mecho 04-21-2007 12:24 PM

Quote:

Originally Posted by redlabour (Post 1228792)
Please include this at Update : Change Threads Prefix Inline

That would be great .. Thanks for idea . hope he accept :)

IAWBody 04-21-2007 05:07 PM

Man that was fun to install.... :erm:

I got-r-done though. Thanks for this! :D

blankoboy 04-23-2007 05:23 AM

This ranks in my top 5 for all time best vBulletin mods but sadly Mystics no longer updates it. :( The current version requires quite a bit of tweaking to get it working correctly. It would be fantastic if he were to come back and update it to resolve this matter and add the few tweaks that others have introduced.

Even better, of course, would be if Jelsoft officially integrated it into vBulletin itself! :up: ;)

4x4 Mecca 04-28-2007 10:29 PM

I don't know if this is related, but after installing this mod, if I click edit on any post, the quick edit opens fine, but if I "go advanced" i get an "Internet Explorer cannot display the webpage" error, then if I just click refresh on the error page, the advanced edit loads.
Edit
I found out its the class_dm_threadpost.php edit that does it

Code:

                        $threadinfo['threadprefix'] = unhtmlspecialchars($this->table == 'thread' ? $this->fetch_field('threadprefix') : $this->info['thread']['threadprefix']);
                        if (!empty($threadinfo['threadprefix']) AND $foruminfo['allowprefix'])
                        {
                                $threadinfo['title'] = $this->registry->options['prefixmarkup_start'] . $threadinfo['threadprefix'] . $this->registry->options['prefixmarkup_end'] . $threadinfo['title'];
                        }

I'll search this post for a solution.

DJLy5y 05-02-2007 12:27 AM

Good idea will be add option that admins or mods can only change prefixes or they will have restricted ones only for them. So simple users will be not able to use them. Dunno if that allready exist.

Btw have a problem with the code it says:

Find:
Code:

<td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
Replace:
Code:

                        <if condition="$show['threadprefix']">
                        <td>$threadprefixes&nbsp;</td>
                        </if>

I have:
Code:

                        <td><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="$vboptions[titlemaxchars]" tabindex="1" title="$vbphrase[optional]" /></td>
Next on is:

Find:
Code:

                        <td class="smallfont" colspan="3">$vbphrase[title]:</td>
                </tr>
                <tr>
                        <td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>

Change:
Code:

                        <if condition="$show['threadprefix']">
                        <td class="smallfont">$vbphrase[threadprefix]:</td>
                        </if>
                        <td class="smallfont" colspan="<if condition="$show['threadprefix']">2<else />3</if>">$vbphrase[title]:</td>
                </tr>
                <tr>
                        <if condition="$show['threadprefix']">
                        <td>$threadprefixes&nbsp;</td>
                        </if>
                        <td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>

I have:
Code:

<td class="smallfont" colspan="3">$vbphrase[title]:</td>
                </tr>
                <tr>
                        <td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" /></td>

In result i get this kind of weard stuff see picture all topics are above the borders this :down:

Razin 05-06-2007 05:34 PM

Work it on 3.6.5???


All times are GMT. The time now is 12:58 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.01603 seconds
  • Memory Usage 1,749KB
  • 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
  • (7)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
  • (2)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