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

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 19-05-2007, 06:13 PM
Paul's Avatar
Paul Paul is offline
Moderator
 
Join Date: May 2006
Location: UK
Posts: 568
Blog Entries: 3
Plus 5 URL Mod

The attached mod allows express submissions to submit an additional 5 URLs.

It requires V4 of the directory script.

To install:
  • Create a folder called extensions if it doesn't already exist.
  • Unpack the attached zip file
  • Upload the plus5url folder from the archive to the extensions folder on the server.
  • Create a file called extensioninfo.php with the following:
    <?php
    $extBasePath = dirname(__FILE__) . '/';
    include($extBasePath . 'plus5url/init_plus5url.php');
    ?>
  • Upload extensioninfo.php to the extensions folder on the server.
  • In your browser access extensions/plus5url/plus5urlinst.php
  • Add {$extra5URLs} to the t!wddetail.html template where the extra URLs should be shown.
Note: If the file extensioninfo.php already exists on the server then edit it and add the following line just above ?>:

include($extBasePath . 'plus5url/init_plus5url.php');
Attached Files
File Type: zip plus5url.zip (4.1 KB, 99 views)

Last edited by Paul; 25-07-2007 at 08:35 AM.
Reply With Quote
Sponsored Links
  #2  
Old 25-07-2007, 03:28 AM
pseudomega pseudomega is offline
Junior Member
 
Join Date: Jul 2007
Posts: 1
Tiny little error here: In you browser access extensions/plus5url/plus5urlinst.php

Thanks for this mod!
Reply With Quote
  #3  
Old 25-07-2007, 08:35 AM
Paul's Avatar
Paul Paul is offline
Moderator
 
Join Date: May 2006
Location: UK
Posts: 568
Blog Entries: 3
Thanks for pointing that out, I've updated the original text.
Reply With Quote
Reply

Bookmarks

Tags
mod, url

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 07:23 AM.