banner issue

hey guys, does anyone know if it is possible to put banners on every single page except the homepage??

if so... how??

thanks,

houman

Quote · 26 Jan 2010

Hello!


By default banners should be visible in all pages, because banner injection has page num as 0 - it means 'visible in every pages of Dolphin'.

Regard

Quote · 26 Jan 2010

.... is there anyway i can change this??

Quote · 26 Jan 2010

Hello!


Yes, but with direct editing 'banner_*' records in `sys_injections` table. Change `page_index` field's value from 0 (show everywhere) to for example 1 (show only in index). Then delete cache/sys_injections.inc file for applying this changes completely.

Regard

Quote · 27 Jan 2010

thanks leonid

can u please explain how i would do it if i wanted it to show in every page other than sign up and index?

Quote · 28 Jan 2010

Well, such variant will require adding strings to sys_injections for every page except 1 (index) and 81 (join). Better variant - add page_index checking directly to functions of banners like 'banner_put' in inc/banners.inc.php file and leave in table page_index =0.

Regard

Quote · 28 Jan 2010

thanks but im kinda a noob so can u please tell me step by step?

Quote · 31 Jan 2010

Hello!


Ok, then leave table as it is. Go to inc/banners.inc.php file, find function banner_put_nv. After string like:

global $bann_click_url;

add this construction:

$aClosed = array(1, 81);

If (in_array($GLOBALS['_page']['name_index'], $aClosed))

return '';

Something like this.

Regard

Quote · 31 Jan 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.