GAB on vBAdvanced CMPS
1 Attachment(s)
Hello GAB users,
It took me a while to figure out why my GAB system was not functioning under the vBadvanced CMPS portal system. So in order to prevent everyone else from those annoying headaches I taught it would be a good idea to show everyone else how to do this properly. Ok! lets get started. vBa CMPS Settings: 1. Point your browser to http://www.your_site.com/forum_dir/admincp_dir/[/url] and login into it Scroll down to vBa CMPS menu and open it up 2. Click on Default Settings 3. Scroll down to the Options settings and look for Portal Output Global Variables 4. On the field to the right add GAB_ads 5. Scroll down and click save GAB Settings: 1. Go to GAB Manager » Settings 2. Set the Relative UL path to banners folder( geek/gab/images/ ? - note no leading slash!!!) to the FULL URL I.E http://www.youdomain.com/forum_dir/geek/gab/images/ And guess what? Yes! Your done. Oops I guess I lied..
known issues : If CMPS is in a different directory than forum directory It directs you to an 404 page. NJoy! |
I spent around 40 minutos trying to know how to make it work in vBa. hhhe thanks man
|
Updated Added one more step, cause only the wrapper was showing up on CMPS.
|
Updated: It now needs file edit in order to redirect to work..
Geek, I need to upload a *.php file but it's a invalid file.. gab_class_core.php: Invalid File |
Why does a gab file need an edit? There shouldnt need to be an edit to that file? Plus I would cringe to see one of my scripts posted ;P
|
The only way I got gab to redirect correctly under CMPS(outside from forum dir.) to work was by adding a variable to gab_class_core.php:
Under this code: Code:
$sql=" SELECT ad.id,ad.url, ad.img imgpath,c.track_views, c.track_hits, ad.max_views, ad.width, ad.height, ad.views, ad.template, ad.frequency, Code:
$redirectpg="/forum/"; Code:
$gab_urls.="'./" . $this->settings['redirectpage'] . "?id=$ad[id]&$redirect_url',"; Code:
$gab_urls.="'$redirectpg" . $this->settings['redirectpage'] . "?id=$ad[id]&$redirect_url',"; Makes sense? Perhaps you can add this as an default? Thanks ;) |
Ok, I see what youre saying. You mean that if its OUTSIDE the forum directory, you get a 401 error? Ill sort that!
I was starting to set it back up here today however I now have to run - having a party today and the Wife is giving me evils :P |
;) Thats exactly it!
Ok will be waiting for the fix.. will also take the edit file part from tutorial. Have fun at the party! |
dont work for me in vba portal with this tut :(
any help? |
Getting any errors?
Is navbar enabled in vBaCMPS? If not you'll need to add $GAB_ads[x] to you adv_portal main template. |
All times are GMT. The time now is 03:17 PM. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Tutorial powered by GARS 2.1.9 ©2005-2006