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)

marlita 08-21-2006 04:20 AM

:surprised: argh! so i got the original showthread, which prior to altering it for this mod, had, to my knowledge been the same. i replaced my showthread with that one, and even without making the necessary showthread changes, i was able to access my posts again... of course, i went back and made the changes and all was good... OR SO I THOUGHT! =(

Now I don't have control over my quick reply button, nor do i have access to change the font, size or color... who knows what else... within the post...

Please help!

Thank you!

PS - you may log into my forum at http://www.virginiareia.com with Username: test & password: test if you'd like. Thank you.

Mystics 08-21-2006 02:02 PM

Quote:

Originally Posted by antialiasis
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...

You should pay attention to newthread, editpost and SUBSCRIBE.
Quote:

Originally Posted by yellowbird
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?

Check your FORUMDISPLAY template.

marlita 08-21-2006 02:08 PM

Mystics, do you have an idea as to what I may have done wrong that would have caused my quickedit & wysiwyg to stop working? my forum is located at http://www.virginiareia.com and the sign in and password are both set to 'test'. Any help is appreciated.

Thank you!

Mystics 08-21-2006 02:08 PM

Quote:

Originally Posted by marlita
Now I don't have control over my quick reply button, nor do i have access to change the font, size or color... who knows what else... within the post..

Take a look at your file:
http://virginiareia.com/forum/client...in_textedit.js

You never ever should edit php or *.js files with programs like Word - and if you have to, save it as plain text.

Take the original vbulletin_textedit.js, open it with Notepad and do the modifications again. Upload the file and be happy :)

(you might wanna check the other modified files as well...)

marlita 08-21-2006 02:13 PM

Thank you, I will try those right now! I hope you're still online by the time I'm done lol. It's funny, I used to always use Notepad, but then I read in one of these forums that I should use Word. *sigh* live and learn.

Thanks again. I'll post soon.

marlita 08-21-2006 02:25 PM

:D Oh, thank you so much! It worked! I'm nervous to check the others, but I know I should.

Sidenote: is it possible to have more than one prefix?

Thanks again!

PS - I've removed the test username & password.

PPS - In case this happens to anyone else: what happened to me was that somehow when I saved, it added /pars to the end of each line, probably because i was saving in rich text format. it created a mess, so nothing was working. Just make sure that this doesn't happen to you. It was a crazy pain to undo. :-)

yellowbird 08-21-2006 03:16 PM

Quote:

Originally Posted by Mystics
Check your FORUMDISPLAY template.

Any idea specifically where in this template?

Thanks... I'll take a look.

yellowbird 08-21-2006 05:45 PM

Quote:

Originally Posted by yellowbird
Any idea specifically where in this template?

Thanks... I'll take a look.

Found it. Thanks mystics!

yellowbird 08-21-2006 06:39 PM

Another question:

I see at the bottom under display options you can select to display only threads with a certain prefix. It's a great feature but I'd like to integrate it more. What code do I need to use to actually link the name of the prefix to that sort option?

So for example if the prefix was 'version 2', I want to make that 'version 2' prefix text a link so that when it's clicked on it does what the display option does and only shows threads with 'version 2' as the prefix. What code do I need to do this?

I found where the prefix is in the threadbit template and I looked that the code for the display option but I don't know how to write the code to bring pull and pass on the prefix dynamically.

Thanks in advance for your help.

Dennis Olson 08-22-2006 03:48 PM

One more issue:

On the INDEX page (index.php), in the Last Post column, if the latest thread DOES NOT have a prefix, the prefix from whatever one HAS a prefix is used. In my screen-cap below, the thread specified does not have a prefix. However, the thread immediately under that (in the forumdisplay for that room) has the prefix "DOGS". So DOGS is shown as the prefix for the Last Post, even though it has no prefix at all.


All times are GMT. The time now is 01:27 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.01362 seconds
  • Memory Usage 1,752KB
  • 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
  • (5)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