vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   how to do plugin to arcade? I need an small example... (https://vborg.vbsupport.ru/showthread.php?t=161084)

testebr 10-25-2007 10:42 AM

how to do plugin to arcade? I need an small example...
 
Example of new plugin:

hook = ibproarcade_global_start
php code = $testinggg = "one little test that neverrrrrr work";

and in arcade skin I just place {$testinggg}.

This small example never work, what's the solution?

Thank you

testebr 10-28-2007 08:43 PM

32 views and ZERO reply? Who will help me?

Thanks.

NukeOZ 10-29-2007 09:51 PM

Well maybe more info would be good...
For example did you read all the install notes???
Have you loaded all the folders to their respective folders via FTP???

More info....:)

testebr 10-30-2007 01:28 AM

wtf? please read my question again.

I am trying to do a plugin for the ibparcade.

stangger5 11-01-2007 05:50 AM

Try global_start for your hook..

You`ll need to add the plugin variable to arcade/functions/functions.php

Find;
global $header,

add your variable after that..

Like this,,
global $header, $variable, $vbphrase,

testebr 11-01-2007 06:35 PM

Can you try this test in your vbulletin?

-----------------

hook = global_start
title = arcade test
php code = $letsgo = "please work!!!";

functions.php = global $languagechooserbits, $spacer_open, $spacer_close, $vbulletin, $letsgo;

arcadeskin = {$lestgo} placed in function leaderstart($ginfo, $links) { .... }

--------------

I didn't have success here.

Thank you.

Sunray2 11-01-2007 07:20 PM

Testebr,

I hope you can get it figured out. Hopefully, Mr.ZeroPage will find some time this week to answer a few questions.

I am uninstalling as I cannot open any of the games or set the permissions to even play. Hopefully there is something else similiar.

Good Luck!!!:)

stangger5 11-02-2007 12:19 AM

It could be something not right with your plugin..
Have you tried the plugin variable on any vb pages ?? To see if it works outside of the arcade..

You could try editing the arcade.php file and call it by the arcade/skin...

testebr 11-02-2007 12:32 AM

Yes, work fine in any page.

Can you please test in your machine and confirm here if it worked?

Thanks


All times are GMT. The time now is 01:36 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.02546 seconds
  • Memory Usage 1,713KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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