Seditio Plus

Frequently asked questions about Seditio Plus.
  1:What is the Seditio Plus plugin ?
  2:What's new ?
  3:How to install?
  4:New tags and css installation...
  5:Some notes!
  6:Developers Notes



1 : What is the Seditio Plus plugin ?
The main purpose of this plug when it first released was to replace the boring seditio pagination and add proper pagination in some areas. The seconde purpose of this plugin is to replace all the core hacks that all people are used to do. More over through the admin cp of the plugin you can run the most common maintenance queries. The plug won't add any more queries in your pages doesn't require any core hack to work.

Features:
- A smart and easy to edit pagination function.
- The new pagination applied to these sections: forum topics, forum posts, users, pm, list.
- Forums sections status icon.
- Forums posts buttons for quote, delete, edit, reply, website,gender and send pm.
- User Details: gender image and online status in both image and text format.
- Users: online status, website in userlist,.
- Admin tool to run the most common maintenance queries.
[Back To Top]
Created: Sunday 19th of November 2006 03:42 AM Submitted by: Tefra

2 : What's new ?
Version 1.05
------------

    - Fixed conflict with the plugin Alphabetical filters

Version 1.04
------------

    - Fixed bug in pm pagination (Pagination was disappearing when viewing last page.)

Version 1.03
------------

    - Pagination improvements again.
    - Cleaned up the code.
    - Fix a multi-language bug.
    - Fixed pagination for forum posts *
    - Added a few new tags.
    - Misc images are now included in the package.

*Seditio doesn't preserve the order and the way when moving from one page to another. This is actually an official bug that sed plus inherited but i discovered it first and while sed 110a is the latest version only sed plus has the proper pagination.
[Back To Top]
Updated: Saturday 10th of February 2007 04:59 PM Submitted by: Tefra

3 : How to install?
Plugin Installation :
1 : Unpack and upload the files from folder "sedplus" into the folder : /plugins/sedplus/
2 : Go into the administration panel, then the tab "Plugins", click the name of the new plugin, and at bottom of the plugin properties, select "Install all".
3 : Config the plug options through admin cp


Check below for the complete list of tags!
[Back To Top]
Created: Thursday 25th of January 2007 02:09 AM Submitted by: Tefra


4 : New tags and css installation...
users.tpl
{SEDPLUS_USERS_TOP_PAGENAV}
-
New Pagination
{SEDPLUS_USERS_ROW_WEBSITE}
USERS_ROW
User website (text)
{SEDPLUS_USERS_ROW_WEBSITE_IMG}
USERS_ROW
User website (img)
{SEDPLUS_USERS_ROW_ONLINE_IMG}
USERS_ROW
User online (img)
{SEDPLUS_USERS_ROW_ONLINE}
USERS_ROW
User online (text)
users.details.tpl
{SEDPLUS_USERSDETAILS_GENDER}
-
Gender (img)
{SEDPLUS_USERSDETAILS_ONLINE_IMG}
-
User online (img)
{SEDPLUS_USERSDETAILS_ONLINE}
-
User online (text)
forums.sections.tpl
{SEDPLUS_FORUMS_SECTIONS_ROW_STATUS_ICON}
-
New posts indicator
forums.topics.tpl
{SEDPLUS_FORUMS_TOPICS_PAGENAV}
-
New Pagination
forums.posts.tpl
{SEDPLUS_FORUMS_POSTS_PAGENAV}
-
New Pagination
{SEDPLUS_FORUMS_POSTS_ROW_SENDPM}
FORUMS_POSTS_ROW
Send new pm (text)
{SEDPLUS_FORUMS_POSTS_ROW_SENDPM_IMG}
FORUMS_POSTS_ROW
Send new pm (img)
{SEDPLUS_FORUMS_POSTS_ROW_ADMINBUTTONS}
FORUMS_POSTS_ROW
Reply,edit,quote,delete buttons
{SEDPLUS_FORUMS_POSTS_ROW_GENDER}
FORUMS_POSTS_ROW
Gender (img)
{SEDPLUS_FORUMS_POSTS_ROW_WEBSITE}
FORUMS_POSTS_ROW
User website (text)
{SEDPLUS_FORUMS_POSTS_ROW_WEBSITE_IMG}
FORUMS_POSTS_ROW
User website (img)
pm.tpl
{SEDPLUS_PM_TOP_PAGENAV}
-
New Pagination
list.tpl
{SEDPLUS_LIST_PAGENAV}
-
New Pagination



All the above tags are optional, if you like them then use them. If you are going to use the sed plus pagination you might also want to add this to your skin's css. Just to make it look better.
CSS Code:

.pagenav_prev, .pagenav_next, .pagenav_first, .pagenav_last, .pagenav_pages   
{ padding:0 2px; background:#F5F5F5; margin:1px; border:1px solid #d5d5d5;}

.pagenav_current { padding:0 2px; font-weight:bold; text-decoration:underline; background:#ededed; margin:1px; border:1px solid #c8c7c7;  }

[Back To Top]
Updated: Wednesday 15th of November 2006 03:32 AM Submitted by: Tefra

5 : Some notes!
Some the new tags will require you have some new images. In the package, or in most of the T3 Skins you will find some images you can use.

List of all the extra graphics:
   - skin_name\img\system\button-delete.gif
   - skin_name\img\system\button-edit.gif
   - skin_name\img\system\button-quote.gif
   - skin_name\img\system\button-reply.gif
   - skin_name\img\system\button-www.gif
   - skin_name\img\system\forum_lock.gif
   - skin_name\img\system\forum_new.gif
   - skin_name\img\system\forum_old.gif
   - skin_name\img\system\Gender_Female.gif
   - skin_name\img\system\Gender_Male.gif

You can preview all the features in http://www.t3-design.com.
[Back To Top]
Created: Wednesday 15th of November 2006 03:36 AM Submitted by: Tefra

6 : Developers Notes
As you may have seen i try to include sed plus in almost all my plugs. It's a very easy task since it's simple function. Every plugin can have this excellent pagination only with a few lines of code.

Example:
PHP Code:

<?
$perpage = $limit_per_page; //The number of items per page;
$totalitems = $total_whatever; // Total items you may have
$address = "index.php?m=headlines&amp;d="; //The address of the pagination the example is from advanced news
$pagenumber = $d; //The current pagenumber $_POST['d']
   
if(is_array($cfg['plugin']['sedplus'])){
    require_once("plugins/sedplus/inc/sedplus.functions.php");
    $pagnav = t3_build_sed_pagnav($totalitems, $perpage, $address, $pagenumber);
}

//The $pagenav has now your pagination assign it as a tag or use it hardcoded in your plug.

?>

[Back To Top]
Created: Tuesday 21st of November 2006 08:38 PM Submitted by: Tefra