vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Administrative and Maintenance Tools - Thread Prefixes upgrade from Mystics to 3.7 (https://vborg.vbsupport.ru/showthread.php?t=165761)

Pottsy 12-22-2007 09:50 AM

Quote:

Originally Posted by Trigr (Post 1406483)
just so im understanding .......

i must have your original from https://vborg.vbsupport.ru/showthread.php?t=123033 installed on my 3.6.x board before i try the upgrade to 3.7

then once i upgrade to 3.7 i have to use this to convert over so it will work again?

id love to use this .... just want to be clear.

thanks

If you want to continue using Mystics hack with 3.7, then you do NOT need to run this converter. Just revert and re-modify a whole load of templates.

If you want to abandon Mystics hack and start using the native vbulletin thread prefixes, then this script will move your data from Mystics hack into the right place so the native vbulletin system can see it.

Trigr 12-22-2007 12:52 PM

Quote:

Originally Posted by Pottsy (Post 1406756)
If you want to continue using Mystics hack with 3.7, then you do NOT need to run this converter. Just revert and re-modify a whole load of templates.

If you want to abandon Mystics hack and start using the native vbulletin thread prefixes, then this script will move your data from Mystics hack into the right place so the native vbulletin system can see it.



gotcha ..... Thanks.

Paul M 12-23-2007 10:47 AM

Nice, I'll be looking at this for the upgrade of vb.org to 3.7 as we use prefixes.

Kaleem 12-23-2007 06:36 PM

Worked perfectly great :)

Rageem 12-23-2007 10:19 PM

I happy for this script :) , and I would be very happy if you fixed this problem ;)

I have Arabic language "UTF-8" and I use Collation "utf8_general_ci" in mysql for my forum.

And I test this script, after the script was used on the characters to "?????"

https://vborg.vbsupport.ru/attachmen...1&d=1198455472

And see this error in running

Code:

Doing forum 2...........
Doing forum 4..........
Doing forum 8...
Warning: Duplicate entry '?????8' for key 1 in /home/_/public_html/forum/ez_sql_mysql.php on line 204

Warning: Duplicate entry 'prefix_?????8_title_rich-0-global' for key 2 in /home/_/public_html/forum/ez_sql_mysql.php on line 204

Warning: Duplicate entry 'prefix_?????8_title_plain-0-global' for key 2 in /home/_/public_html/forum/ez_sql_mysql.php on line 204
......Done.
Now you MUST rebuild all languages in AdminCP > Languages & Phrases > Language Manager > Rebuild All Languages.

Thanks

Pottsy 12-30-2007 07:56 AM

Rageem, I'm sorry I have no experience with non-Roman characters in databases like this.

Alfa1 01-17-2008 09:13 AM

Pottsy, do you have ideas about how to merge prefixes or prefix sets?

Pottsy 01-17-2008 02:26 PM

Alfa1, it was me at vb.com... I think I know what you want, and shall try to achieve this when I test and re-build on the next beta release. In essence, I shall try to get the script to (optionally) read all prefixes everywhere and make one set, then apply that one set to all forums.

Alfa1 01-18-2008 04:56 AM

That would be a big enhancement. Is it possible to add a feature where the admin can select which sets to merge?

Alfa1 04-06-2008 01:36 PM

Quote:

Originally Posted by Pottsy (Post 1423140)
Alfa1, it was me at vb.com... I think I know what you want, and shall try to achieve this when I test and re-build on the next beta release. In essence, I shall try to get the script to (optionally) read all prefixes everywhere and make one set, then apply that one set to all forums.

Please see this modification request:
https://vborg.vbsupport.ru/showthread.php?p=1484367
Quote:

Originally Posted by Alfa1 (Post 1484367)
Before vbulletin 3.7 I used this hack: Thread Prefixes to have this functionality. Since vbulletin 3.7 thread prefixes are built into vbulletin.
I used this hack to import my thread prefixes into vb 3.7: Thread Prefixes upgrade from Mystics to 3.7

This hack created one prefixes set per forum, because vbulletin 3.7 introduced prefixes sets. This means that I now have 46 almost identical sets of prefixes. Each set contains between 10 and 25 prefixes. Most sets and most prefixes are almost identical. I would like to merge many thread prefixes and sets, so that I just have a few different prefixes sets left. But I do not want to loose prefixes on the thousands of threads that have been categorized with them.

As far as I understand this would be a simple script to code. I may be wrong. Either way; it will be very helpful to many admins and safe loads of work.



All times are GMT. The time now is 04:49 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.01083 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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