vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Help with XML (https://vborg.vbsupport.ru/showthread.php?t=323452)

MokeyII 09-12-2016 02:16 PM

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:

https://vborg.vbsupport.ru/external/2016/09/13.png

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.

Paul M 09-12-2016 02:56 PM

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).

Replicant 09-12-2016 06:29 PM

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

MokeyII 09-12-2016 08:46 PM

Quote:

Originally Posted by Replicant (Post 2575828)
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]

https://vborg.vbsupport.ru/external/2016/09/12.png

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


All times are GMT. The time now is 03:56 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.01008 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete