PDA

View Full Version : PHP Standalone code don't work for VBadvanced (OFFERING $75.00 VIA PAYPAL for HELP)


borderpatrol
05-15-2011, 10:34 AM
I know no one will just come out and help me because I have googled this and all the people who had this same problem either got no replies or no follow up replies when they had issues. So I am offering $50.00 via paypal to whomever who can help me

This is still an open issue.

I am trying to add a module on my vBadvanced using a PHP code which is not written for it..

I tried 2 ways "Php Page" Module and "Template" Module


When I "Clean the code" for the Php Page it just makes my whole website white page

When I do Template module it just has the php code printed on my CMPS portal.. and nothings happening

Trying to have a simple PHP module using the following code:

global $output, $lgsl_zone_number;
$lgsl_zone_number = 1;
$output = "";
require "lgsl/lgsl_files/lgsl_zone.php";
echo $output;
unset($output);



Php standalone
http://www.greycube.com/help/readme/lgsl/install-standalone/



Thank you in advance

CareyCrew
05-15-2011, 01:44 PM
php code would only be used in a php page or module not a template module.

You have placed a file on your server and selected that in the "Select File to use" section?

Added identifier?

Our Sponsors
 

borderpatrol
05-15-2011, 01:51 PM
so how would I get that to work with a php module then? thats all I'm looking for

CareyCrew
05-15-2011, 01:59 PM
What are you adding in each section of the php module set up page?


These pages in the members area may help :

http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=2


http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=5

Our Sponsors
 

borderpatrol
05-15-2011, 02:57 PM
Im putting

global $output, $lgsl_zone_number;
$lgsl_zone_number = 1;
$output = "";
require "lgsl/lgsl_files/lgsl_zone.php";
echo $output;
unset($output);

in a php file in the modules page then creating a new module and selecting that php from a list


I am not a coder so I really dont understand all that extra stuff you provided, which is why I'm offering $50 to anyone who can get this done

borderpatrol
05-16-2011, 06:36 AM
Now offering $75.00 via PayPal for help...........

borderpatrol
05-16-2011, 08:18 AM
bump

sye
05-16-2011, 09:43 AM
Can you get the php code to work in a separate .php not on the forum. Why not use an iframe code in a BB code module to display the info, I know it may not be perfect but iframes do work in the BB modules.

borderpatrol
05-16-2011, 10:38 AM
Yes, and no iframe doesnt work, doesnt support all browsers and looks horrible


Now offering $100!!


Can anyone crack this?

Brian
05-16-2011, 12:11 PM
Please do not create multiple threads regarding the same issue. If I hadn't had my caffeine earlier this morning I might have mistaken them for spam.

You definitely need to create the module as a PHP file module, and the 'Clean File Output' setting would need to be enabled. If that's causing the whole page to be blank, then it sounds like there's something within the lgsl/lgsl_files/lgsl_zone.php file that you're trying to include that's causing an error. Can you post the full contents from that file here?