View Full Version : vbAdvanced integration
Pirotess
10-08-2005, 08:57 PM
I added the line to my news.php file to get GAL popups in my news articles but theres a small problem with it. The link its trying to goto is busted though it works when I click on the [Read More] link which puts me into vBulletin proper. You can see the problem at http://www.vanguardspheres.com.
front page link = /autolink.php?id=1&script=adv_index&forumid=
vbulletin link = /autolink.php?id=1&script=showthread&forumid=2
Basically the wrong script and no forumid are being passed.
The Geek
10-08-2005, 09:42 PM
Thats the right script and there is no forumid as it isnt in a forum. These variables are used when recording stats. If it so happens that you are in a forum, it will record the stat per script, per form. If your not in a fourm (ie a private message) it just groups them together by the private script.
Hope this makes sense ;)
The Geek
10-08-2005, 09:43 PM
Right, I see the problem.... The redirect script is defaulting to the current directory whereas yours is in your fourm folder.
Let me mull on this. It may require a file edit until I can release a minor patch.
The Geek
10-08-2005, 09:52 PM
Try putting a copy of autolink.php in your root folder (the same folder your vBaCMPS index page is in).
You will have to make an edit to the copied file though.
find:
require_once('./global.php');
and change to
require_once('.forums/global.php');
Or change forums in the above line to whatever folder your vb directory is.
I havent tested this - but I dont see why it wouldnt work.
Thanks!
Pirotess
10-09-2005, 10:05 PM
Tried that and it complains.
Warning: main(/home2/vanguard/public_html/includes/init.php) [function.main]: failed to open stream: No such file or directory in /home2/vanguard/public_html/forums/global.php on line 23
The Geek
10-11-2005, 09:36 AM
Ive done a new build to address this and a couple other issues. I want to look into the deleting a category issue and then ill release an update possibly tonight.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.