vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Thread Prefixes (https://vborg.vbsupport.ru/showthread.php?t=99925)

shadow187 02-19-2006 10:38 AM

HOw can i built this into the new reply and quick reply, and NOT just newthread ???

Shadow

Mystics 02-19-2006 10:42 AM

Quote:

Originally Posted by shadow187
HOw can i built this into the new reply and quick reply, and NOT just newthread ???

It makes no sense to select a thread prefix with a new reply. A thread prefix is for a thread, not for a single post.

shadow187 02-19-2006 10:49 AM

Yeah but i wanna change the prefix with a new post

Now you first have to edit the prefix and then reply to it, it would be very great if i could do this together..

Thanks in advandce

Shadow

SCRIPT3R 02-20-2006 06:02 AM

is it possible to jump to the (3. Templates that need to be edited:) portion of the installation so that i may go through the needed template edits again? i installed another style onto my forum after this was done, and i need a few the required edits for this hack.

SCRIPT3R 02-20-2006 09:42 PM

if a prefixed-thread get's moved into another forum where prefixes aren't allowed... does the additional data associated with that threads get removed, or does it linger in the database. if database size is a factor, is it possible to remove the additonal tag data that goes along with the prefix?

DrewM 02-21-2006 05:11 PM

In 3.5.4 they cahnged class_dm_threadpost.php in it instaed of looking for:
PHP Code:

            $mods explode(' '$newpostemail); 

loke for:
PHP Code:

        $this->registry->userinfo['username'] = unhtmlspecialchars($this->info['user']['username'] ? $this->info['user']['username'] : $this->registry->userinfo['username']); 

then under add the prefix code.

Timan 02-23-2006 10:52 AM

I installed this hack on vb 3.5.3 would I be safe to upgrade to 3.5.4?

DrewM 02-23-2006 10:57 AM

yes just do the change I made above.

Eikinskjaldi 02-27-2006 10:32 PM

I am getting an error when a user is in coventry and trying to view the forum home or forumdisplay. When I checked the output for the error, it seems to be resulting from code added by a plugin of this hack.
PHP Code:

if ($vbulletin->options['prefixinlastpost']) 
 { 
      if (
$vbulletin->userinfo['userid'] AND in_coventry($vbulletin->userinfo['userid'], true)) 
      { 
           
$counter_select str_replace('forum.lastthread, tachyforumpost.lastthread''IF(forum.lastthreadprefix <> \'\' AND forum.allowprefix != 0, CONCAT(forum.lastthreadprefix, \' - \', forum.lastthread), forum.lastthread) AS lastthread, IF(tachyforumpost.lastthreadprefix <> \'\' AND forum.allowprefix != 0, CONCAT(tachyforumpost.lastthreadprefix, \' - \', tachyforumpost.lastthread) AS lastthread, tachyforumpost.lastthread)'$counter_select); 
      } 
      else 
      { 
           
$counter_select str_replace('lastthread,''IF(lastthreadprefix <> \'\' AND allowprefix != 0, CONCAT(lastthreadprefix, \' - \', lastthread), lastthread) AS lastthread,'$counter_select); 
      } 
 } 

It's reading a MySQL 1064 (invalid SQL syntax) error here
PHP Code:

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'AS lastthread, IF(tachyforumpost.lastthreadprefix &lt;&gt; '' AND forum.allowprefix !=' at line 5 
 Error Number 
1064 

I'm running vBulletin 3.5.4 and the lastest release of this hack, with the change given by Larrysw for 3.5.4 compatability. Any assistance is greatly appreciated, thank you :)

Mystics 03-03-2006 05:33 PM

Quote:

Originally Posted by Eikinskjaldi
I am getting an error when a user is in coventry and trying to view the forum home or forumdisplay. When I checked the output for the error, it seems to be resulting from code added by a plugin of this hack.)

Hm, it seems that <> is replaced with &lt;&gt; - don't know why


All times are GMT. The time now is 08:23 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.01381 seconds
  • Memory Usage 1,754KB
  • 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_php_printable
  • (2)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