PDA

View Full Version : Problem in adding Google AdSense


baki
08-06-2011, 10:08 PM
Hello

I have a problem in Plugin

Can you correct it ?

To comply with vb4

EquinoxWorld
08-07-2011, 04:27 PM
Hello

I have a problem in Plugin

if (!$GLOBALS['FIRSTPOSTID']){
global $forumid;
$v_array = explode("<br />", $post['message']);
// 2222
$y=count($v_array);
// 222
$rand = rand(1,$y);
eval('$v_arraq .= "' . fetch_template('adsense_linepost') . '";');
$v_array[$rand]= $v_arraq.$v_array[$rand];
$post['message'] = implode("<br />", $v_array);
}

Can you correct it ?

To comply with vb4

From what I can see everything is good until you get to the eval bit, read this https://vborg.vbsupport.ru/showthread.php?t=228078 . Should be a simple edit.

baki
08-07-2011, 06:20 PM
Thank you EquinoxWorld

You make changes it


But it did not work

Help me to modify and thank you very much.

--------------- Added 1312773256 at 1312773256 ---------------

Help me to need

baki
08-08-2011, 09:59 PM
؟؟؟؟؟

--------------- Added 1312924411 at 1312924411 ---------------

I have found a solution for it



But the announcement did not move between the lines as he did in the past vb3
I'm waiting for you

baki
08-10-2011, 03:39 AM
I'm waiting for you

Lynne
08-10-2011, 03:45 AM
Let's see a link to the post where you tried to add it and post the template code.

baki
08-10-2011, 04:00 AM
It shows in the first post and I'm only appears between the lines I want to participate in the first