Lampwrights Forum > Other Stuff > vBulletin Wordpress Bridge

Reply
 
Thread Tools
10-05-2011, 11:28 AM   #1
wacnstac
Member
 
Join Date: Feb 2011
Posts: 58
Rep Power: 14
wacnstac is getting browny points
Calling vbbridge functions in other files

Ok, I'm starting to customize some of my other WP templates and want to make use of some of your the great functions you have Jeff, like get_avatar, but I don't know how to include the function you wrote in my template files. I tried:

PHP Code:
require_once ('/home/mypath/vbbridge/vbbridge.php'); 
but this doesn't seem to make the get_avatar function within scope.
wacnstac is offline   Reply With Quote

10-06-2011, 09:52 AM   #2
Jeff
Administrator
 
Jeff's Avatar
 
Join Date: Jul 2010
Posts: 402
Rep Power: 10
Jeff is getting browny points
There should be no need to include it anywhere. It should already be in scope.
Jeff is offline   Reply With Quote
10-06-2011, 10:21 AM   #3
wacnstac
Member
 
Join Date: Feb 2011
Posts: 58
Rep Power: 14
wacnstac is getting browny points
Yeap, it was. My bad.
wacnstac is offline   Reply With Quote
Reply

Tags

vbulletin wordpress bridge


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use PHP Functions Inside Vbulletin Templates Jeff Other Vbulletin Mods 0 02-16-2011 06:07 PM
Finding functions Jeff PHP 1 12-09-2010 05:41 AM


All times are GMT -4. The time now is 01:32 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2024, vBulletin Solutions, Inc.