You are not logged in! If you have not registered yet then click here to join the community!

TOLRA Community Forums

Go Back   TOLRA Community Forums > TOLRA Products (PHP Scripts) > Web Directory Script > Directory Script Mods


Thread Tools Display Modes
Old 23-10-2012, 02:01 AM
jasminedir jasminedir is offline
Junior Member
Join Date: Jul 2012
Posts: 26
Facebook and Twitter profile mod

I want to build a mod that allows people, when submitting their listing, to input, if they want, their facebook, twitter and G+ fan/profile pages for their websites.

If people completed one or more of these data, a small icon would show up after the listings description on category pages.

Any hints?
My Tolra script based directory!
Reply With Quote
Sponsored Links
Old 27-10-2012, 05:00 AM
Paul's Avatar
Paul Paul is offline
Join Date: May 2006
Location: UK
Posts: 568
Blog Entries: 3
For twitter have a look at the attached.

Unpack the zip and put the whole twitter folder in your extensions folder.
Then access
Delete extensions/twitter/twitterinst.php from the server
Edit extensions/extensioninfo.php and before the ?> add:
include($extBasePath . 'twitter/init_twitter.php');
if you don't have $extBasePath in that file then just after the opening <?php add:
$extBasePath = dirname(__FILE__) . '/';
That will let people include their twitter name, their feed is then painted on the detail page of their listing e.g.

You should be able to copy that, renaming as appropriate to allow submission of facebook etc,
Attached Files
File Type: zip (3.8 KB, 8 views)
Reply With Quote


facebook, mod, profile, twitter

Thread Tools
Display Modes

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

Forum Jump

All times are GMT +1. The time now is 09:54 AM.