Noah Plugin 1.0
This plugin creates a nested tab showing the member's Noah Classified Ads. There are many customizable features in the tab management. Some Features included:
- Show/Hide/Order 10 different columns
- Hide Ads from other users
- Sort by columns
- Sort by Ad Category
- Pagable Results
- Submit New Ads
- Un-Approved Ads are hidden from other users
- SEF friendly
- and more...
Requirements/Tested On:
- Joomla 1.0.11
- Noah's Classifieds 1.0 Beta 3
- Community Builder 1.0.1 Stable
Instructions:
- Download the .zip file
- Unzip it to your hard drive
- Read the instructions
- Upload the plug_noahmyads.zip plugin file to CB
- Add the following language lines to CB default language file
[code:1]
// NOAH_CB MY ADs Plugin
DEFINE('_UE_NOAH_TIME','Y-m-d \<\b\r\> h:i a'); //see
us3.php.net/manual/en/function.date.php
for Date Format
DEFINE('_UE_NOAH_ASC','[+]');
DEFINE ('_UE_NOAH_DESC','[-]');
DEFINE ('_UE_NOAH_TABTITLE','User Ads');
DEFINE ('_UE_NOAH_SUBMIT','Submit Ad');
DEFINE ('_UE_NOAH_CATEGORY','Category');
DEFINE ('_UE_NOAH_TITLE','Title');
DEFINE ('_UE_NOAH_PICTURE','Picture');
DEFINE ('_UE_NOAH_CREATED','Created');
DEFINE ('_UE_NOAH_APPROVE','Approved');
DEFINE ('_UE_NOAH_VIEWS','Views');
DEFINE ('_UE_NOAH_RESPOND','Responses');
DEFINE ('_UE_NOAH_EXPIRE','Expiration');
DEFINE ('_UE_NOAH_RENEW','# of times Renewed');
DEFINE ('_UE_NOAH_ACTIONS','User Actions');
DEFINE ('_UE_NOAH_MODIFY','modify');
DEFINE ('_UE_NOAH_DELETE','delete');
DEFINE ('_UE_NOAH_FOUNDADS','No Found Entries Under these Settings');
DEFINE ('_UE_NOAH_NOADS','This User has No Ads');
DEFINE ('_UE_NOAH_HIDEADS','You are not allowed to view the Ads');
[/code:1]
- Open the Tab Manager and select the 'My Ads' plugin to configure it
- Publish the tab and you're set
- You may want to turn off "My Ads" in the Noah's Classified Settings because they will now appear in the users CB profile
Please post problems!
Enjoy.
-barnett
Attachment NOAH_plugin_1.zip not found