vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Quick question about using plugins for vb3.5 with vb3 (https://vborg.vbsupport.ru/showthread.php?t=100739)

Sean S 11-13-2005 08:12 PM

Quick question about using plugins for vb3.5 with vb3
 
Hi there,

this is probably a stupid question, but is it possible to convert plugins or hacks created for vb3.5 to vb3? The reason that I'm asking this is because there are couple of plugins for vb3.5 that I would like to see for vb3 and tried myself to convert some of the codes to make them work with vb3 by reading some tutorials at https://vborg.vbsupport.ru/forumdisplay.php?f=110, but the only problem that I'm facing right now is that I don't know where I should add in all the codes that come with the plugin.

Should I add all of it's php code to the page that the code should be displayed? For example, if the plugin is suppose to work on Forum Home, should I add the plugin's php code in global.php?

I hope that there is a way to do this, and I would appericiate any response, if or if not possible to do,

thank you.

Paul M 11-13-2005 08:18 PM

Technically it would be possible, but could be quite a bit of work, depending on what you want to convert.

Most 3.5 hacks are ports of 3.0 hacks anyway, so wouldn't need converting backwards.

Sean S 11-14-2005 01:51 AM

Quote:

Originally Posted by Paul M
Technically it would be possible, but could be quite a bit of work, depending on what you want to convert.

Most 3.5 hacks are ports of 3.0 hacks anyway, so wouldn't need converting backwards.

Thank you Paul, it's good to know that it's at least possible. The hack that I'm trying to convert is https://vborg.vbsupport.ru/showthrea...ght=sparklines . The only thing that I can't figure out is where I should put the code of the plugin, but I'm still testing. :rambo:

Marco van Herwaarden 11-14-2005 05:02 AM

Find where in the 3.5 code the hook is executed, and see if you can hack the code in the same place for 3.0

Sean S 11-15-2005 02:33 AM

thank you, that is a good idea :). I have also contacted the author of the mod and he said he will help me out with it once he has time as well :classic:


All times are GMT. The time now is 12:16 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.01040 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
  • (5)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