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)

rnmcd 08-20-2006 03:27 AM

Quote:

Originally Posted by Dennis Olson
*sigh*

I hate it when I'm an idiot. Issue resolved....

Dennis, what was your fix?

Dennis Olson 08-20-2006 01:02 PM

There's an option in the AdminCP to "Require prefixes". I'd left that set to OFF, which is the default when the hack is installed. I set it to "By Forum" (or whatever it says) and then went into the Forum Manager for certain forums and set it to Required = Yes there.

I DO have a legitimate issue now though (and it MAY be my own fault, but I'd welcome a little input). For threads that currently have no profix, when I go to Quick Edit, then select Go Advanced, I naturally get the error notice to Select a prefix. I do that, then click SAVE. BUT - the prefix DOES NOT GET ADDED to the thread.

This only happens on EDIT, not on post a new thread, which works perfectly. Any ideas out there folks?

Mystics 08-20-2006 01:12 PM

Quote:

Originally Posted by Dennis Olson
There's an option in the AdminCP to "Require prefixes". I'd left that set to OFF, which is the default when the hack is installed. I set it to "By Forum" (or whatever it says) and then went into the Forum Manager for certain forums and set it to Required = Yes there.

I DO have a legitimate issue now though (and it MAY be my own fault, but I'd welcome a little input). For threads that currently have no profix, when I go to Quick Edit, then select Go Advanced, I naturally get the error notice to Select a prefix. I do that, then click SAVE. BUT - the prefix DOES NOT GET ADDED to the thread.

This only happens on EDIT, not on post a new thread, which works perfectly. Any ideas out there folks?

I noticed this too. It did work in vB 3.5. I will fix it in the next version.

Dennis Olson 08-20-2006 02:18 PM

One feature you might also consider:

Copying the DEFAULT prefixes from a forum where they're already defined. For example, I'd defined all the prefixes for my "general" room, then had to copy/paste those into the defaults in AdminCP after-the-fact. (Redundant, yes I know, but I had my reasons.) It might be nice to have an option like:

SET DEFAULTS FROM THIS FORUM:

Which would do that automatically. This might be useful if you wanted to instantly and globally change your default prefixes.

Just a thought...

yellowbird 08-20-2006 07:18 PM

I'm trying to install this and I *believe* I've made the correct edits. It doesn't appear to be the case though as when I click on 'Forum Tools' I don't have the 'Manage Thread Prefixes' option. Any idea where to look for the error?

Thanks!

antialiasis 08-20-2006 10:45 PM

I have one quick question:

Have the template edits changed at all since the 3.5 version? I'm upgrading now, but not reverting all my templates (preferring to update them manually) and I'm just wondering if I have to check every one of the template edits to see if they're still the same as before or not...

marlita 08-21-2006 12:29 AM

:ermm: *deep sigh* ok, so I thought I was paying attention when I installed this, but now I get this error when I try to read/edit/create posts:
Code:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /forum/showthread.php on line 2

Parse error: syntax error, unexpected T_STRING in /forum/showthread.php on line 2

:confused: I don't even know what parse means, let alone that whole message. Any help would be appreciated! Oh, and feel free to check out what i mean by clicking on any post at http://virginiareia.com/forum/index.php. I just hope that it didn't cause any other errors & that this one can be fixed.

Thanks!

nix 08-21-2006 12:31 AM

open showthread.php and see whats wrong with line 2.

marlita 08-21-2006 12:36 AM

=/ Yeah, I tried that, but I can't figure out what line 2 is... not only that, as far as i can tell, the only change i made to the showthread.php was way down low... i don't think it was line 2... any other suggestions? i'm open to them.

thanks.

nix 08-21-2006 12:54 AM

google a program called editplus. Use that to open the file. Line 2 is just two lines down. maybe you hit a key and didn't realize it or something.

mine looks like this.

Quote:

/*================================================= =====================*\


All times are GMT. The time now is 05: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.01376 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_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