Question Create url's on external page

Status
Not open for further replies.

Zuker

Customer
Hi

On vbseo i was using something like this

PHP:
include_once('/var/www/site.com/public_html/vbseo/includes/functions_vbseo.php');

vbseo_get_options();
vbseo_prepare_seo_replace();
vbseo_get_forum_info();
$memberurl = vbseo_member_url_row($vb_userid, $vb_username);

to get member url on external pages (non vb)

i was told that using this

PHP:
include_once('/var/www/site.com/public_html/dbtech/dbseo/includes/class_core.php');

DBSEO::init(); 

$memberurl = DBSEO_Url::create('MemberProfile_MemberProfile', array('userid' => $vb_userid, 'username' => $vb_username));

i can create the same url's

But i'm getting

PHP:
Warning: require_once(DBSEO_CWD/dbtech/dbseo/includes/autoloader.php): failed to open stream: No such file or directory in ..../dbtech/dbseo/includes/class_core.php on line 15

Fatal error: require_once(): Failed opening required 'DBSEO_CWD/dbtech/dbseo/includes/autoloader.php' (include_path='.:/var/www/gaminga.com/pear') in /var/www/gaminga.com/public_html/foros/dbtech/dbseo/includes/class_core.php on line 15

Any ideas?

pd: I also need a hint on replacing this (creating thread url's)

PHP:
				$threadrow = array('threadid' => $data['threadid'],
								   'title'=> $data['title'],
								   'forumid'=> $data['forumid']
							);

				$threadurl = vbseo_thread_url_row($threadrow, '1');

Thanks in advance
 
Last edited:
I've tryed to overwrite using "define('DBSEO_CWD', '/var/www/gaminga.com/public_html/foros/');" before the include and the result i'm getting it's "Access denied."
 
Also add this:
PHP:
	define('DBSEO_TIMENOW', time());
	define('IN_DBSEO', 		true);
 
Also add this:
PHP:
	define('DBSEO_TIMENOW', time());
	define('IN_DBSEO', 		true);

Fatal error: Call to undefined method DBSEO_Url::create() in /var/www/gaminga.com/public_html/servidores/counter-strike/administradores.php on line 92
 
PHP:
$threadinfo = fetch_threadinfo(33);
$threadUrl = DBSEO_Url_Create::create('Thread_Thread', $threadinfo);

Fetches the URL for thread ID 33 :)
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,172
Customer rating
5.00 star(s) 1 ratings
Back
Top