Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Convert Zoints Thread Tags to vB 3.7 tagging system Details »»
Convert Zoints Thread Tags to vB 3.7 tagging system
Version: 1.0.2, by zappsan zappsan is offline
Developer Last Online: Jul 2016 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.7.x Rating:
Released: 02-11-2008 Last Update: 06-21-2008 Installs: 68
Additional Files  
No support by the author.

Description

This will convert all tags from the Zoints thread tags hack to vB 3.7's tagging system.

Use

Simply upload the converttags.php to your forums root folder and run it in your browser. Once the script is done, delete it. Don't refresh the page after running it (this would give you an MySQL error).

Note:
vB 3.7's tagging system has a few additional settings which Zoints thread tags doesn't have, so it couldn't be converted.

UserID: vB 3.7 saves the ID of the user who added the tag in the database. In my converter, the ID will always be '1'. If you want to use a different one, let me know.
(I think the only time this is used is when you edit the tags of the thread: The tags added by you will be displayed in bold.)

Date: Whenever a tag is added, vB will save the date in the database. In my converter, it will always be the date you ran my script.

Once again, I'm putting this under beta stage for a while, until more people have tested it and got it to work.

I myself have been testing this many times and hope everything is working fine
Use at your own risk, I suggest running this on a test forum before.

Updates
22/6/2008: Security issues fixed. Everyone who got database errors should give this another try, the update will fiy this issue.
19/4/2008: version 1.0.1: Made some changes which will hopefully fix some problems the users have had.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 06-04-2008, 07:45 PM
suvari1794's Avatar
suvari1794 suvari1794 is offline
 
Join Date: Apr 2006
Location: Turkey
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you.
Reply With Quote
  #73  
Old 06-07-2008, 04:58 AM
briansol's Avatar
briansol briansol is offline
 
Join Date: Apr 2006
Location: CT
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tag 329389 of 375620

Fatal error: Maximum execution time of 30 seconds exceeded in /home/xxxxxxx/public_html/includes/class_core.php on line 408

lol

i guess that's good enough
Reply With Quote
  #74  
Old 06-07-2008, 08:38 AM
Auron Auron is offline
 
Join Date: Oct 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lve just noticed after converting the tags over that when you use the "show tag" search page, that all threads listed with the tag you searched for.. for example sake:

http://site.com/forum/tags.php?tag=stuff

you should get all threads that were tagged with word "stuff" that works well enough, HOWEVER all "thread titles" link to my main forum page (the /forum/ directory) none of the thread titles go anywhere except there, however the page numbers "do" link to the threads they are supposed to.

what l need is a way to fix this as l didnt find any references within this thread for the problem.. the weird thing is it has affected all forums l recently upgraded by the looks of it.
Reply With Quote
  #75  
Old 06-22-2008, 02:33 AM
Auron Auron is offline
 
Join Date: Oct 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this update fix the above issue? and how can l rebuild tags since due to the original issues and not noticing until it was too late?
Reply With Quote
  #76  
Old 06-22-2008, 02:45 AM
Auron Auron is offline
 
Join Date: Oct 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just to update, lve retested the conversion, didnt seem to cause issues re-running altho l did the usual backup database etc just in case and it still doesnt convert the locations of the the threads, and also the forum locations of threads doesnt update either.

page numbers are fine however if the thread contains no pages you are redirected to the forum root.
Reply With Quote
  #77  
Old 06-24-2008, 04:02 AM
Auron Auron is offline
 
Join Date: Oct 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry for adding another post, lve found the issue, but no closer to a solution.

l need to find a way to exclude the tags script executing zoints seo options, the url rewriting seems to break the tags links when disabled it works again.
Reply With Quote
  #78  
Old 06-24-2008, 08:45 AM
zappsan's Avatar
zappsan zappsan is offline
 
Join Date: Sep 2004
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the late response but I can't help you there.
All my hack does is convert the data to vB's tag system, it doesn't apply any template changes.
Reply With Quote
  #79  
Old 06-24-2008, 08:56 AM
Auron Auron is offline
 
Join Date: Oct 2004
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sadly my guess is right T_T looks like l wont be getting a fix then thanks for taking a look tho..

and just to reiterate, its a url rewriting issue, assumed template originally but its actually an issue because its trying to rewrite the urls.
Reply With Quote
  #80  
Old 07-09-2008, 11:55 AM
TacticalNuke TacticalNuke is offline
 
Join Date: Mar 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I disabled the Zoints tags in the product manager prior to upgrade, then did this conversion, then uninstalled it, now I'm getting this error (by, I presume, google searches):

Warning: main([path]/includes/class_zointstags.php) [function.main]: failed to open stream: No such file or directory in [path]/tags/index.php on line 304

Fatal error: main() [function.require]: Failed opening required '/home/*****/public_html/includes/class_zointstags.php' (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/*****/public_html/tags/index.php on line 304

By the way, I only copied the tags folder over from my old forum directory to the new one after the upgrade, I didn't put all the Zoints stuff back since it was disabled.

Also, this is what I get e-mailed (the above is from the browser):

Invalid SQL:

SELECT zoints_tag.tag, COUNT(*) count FROM zoints_tag zoints_tag
LEFT JOIN thread thread ON(zoints_tag.threadid = thread.threadid)
WHERE thread.forumid IN(43,44,1,2,3,4,5,6,13,21,19,20,26,27,31,15,39,14 ,41,22,47,29,23,38,16,33,18,45,36,37)

AND autogen != 1
GROUP BY zoints_tag.tag
ORDER BY count DESC
LIMIT 30;

MySQL Error : Table '*****_forum2.zoints_tag' doesn't exist
Error Number : 1146
Request Date : Wednesday, July 9th 2008 @ 08:49:08 AM
Error Date : Wednesday, July 9th 2008 @ 08:49:08 AM
Script : http://www.serviceacademyforums.com/...eal/search.php
Referrer :
IP Address : 76.189.85.129
Username : **********
Classname : vb_database
MySQL Version : 4.1.22-standard
Reply With Quote
  #81  
Old 07-09-2008, 01:41 PM
zappsan's Avatar
zappsan zappsan is offline
 
Join Date: Sep 2004
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You think Google search produces this error? Maybe this could be the case, if people are trying to access tags on your site by using yourdomain.com/tags/sometag. If you would have everything removed from the Zoints tags system, you'd get a 404 error, but since some files are still there, it's trying to make use of the tag system (which has been partially removed) and so you get the error.
I suggest you delete the Zoints tags folder and redirect yourdomain.com/tags/sometag to the vB tag system format which is yourdomain.com/tags.php?tag=sometag so people won't get a 404 error when they try to access your page by using the old tag link.
I hope you understand what you mean.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:25 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.08788 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete