Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
  #1  
Old 09-12-2016, 02:16 PM
MokeyII MokeyII is offline
 
Join Date: Mar 2015
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help with XML

Hey guys,

I'm new to customizing Vbulletin and it's plugins.

I used to use a plugin for a site called "Smurfy's Mechlab" http://mwo.smurfy-net.de/

I the XML worked on 4.x.x but when I upgraded it to 5.2.3 it no longer works.

Here is the XML:
https://github.com/smurfy/mwo-api-sa...de_mechlab.xml

what it would do is show a loadout using a bbcode [smurfy], like so:



for this link http://mwo.smurfy-net.de/mechlab#i=3...1085bf92673da3

I'm not sure if the developer is even still around and was wondering if anyone could help me fix this up so it works with vb 5.2.3.

Any help would be greatly appreciated.
Reply With Quote
  #2  
Old 09-12-2016, 02:56 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has nothing to actually do with XML.

Its a product that uses the vB4 hook system.
The XML is just how the product/plugin code gets imported into vB4.

That plugin system does not exist in vB5, so there isnt any way to just fix it, it would need redooing from scratch - either using vb5 extensions (if thats possible) or the newer vb5 hooks system (but thats probably going to need a new hook adding, which you would have to request and wait to be added to an upcoming release).
Reply With Quote
Благодарность от:
RichieBoy67
  #3  
Old 09-12-2016, 06:29 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where are these values coming from in the URL? I guess what I'm saying is how exactly are you using the bbcode? Example?
i=309
l=3ad2a73e6d8a532941cddcad311085bf92673da3
Reply With Quote
Благодарность от:
RichieBoy67
  #4  
Old 09-12-2016, 08:46 PM
MokeyII MokeyII is offline
 
Join Date: Mar 2015
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicant View Post
Where are these values coming from in the URL? I guess what I'm saying is how exactly are you using the bbcode? Example?
i=309
l=3ad2a73e6d8a532941cddcad311085bf92673da3
From their site you can select a link with the BBcode:

Usage:
[smurfy]http://mwo.smurfy-net.de/mechlab#i=310&l=1d8b8c45bb717ccd1f89a45cfac14ce161 5d0ff6[/smurfy]



which is generated from the page:
http://mwo.smurfy-net.de/mechlab#i=3...c14ce1615d0ff6
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:51 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.05055 seconds
  • Memory Usage 2,187KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (2)post_thanks_box_bit
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete