Jump to content


- - - - -

SRD23 Icon Legends ver1.2


  • Please log in to reply
3 replies to this topic

#1 AmgedOsman

AmgedOsman

    aka Sacred

  • IM Supporters
  • PipPipPipPipPipPipPipPipPip
  • 2,027 posts
  • Location:Egypt - Cairo
  • Real Name:amGed
  • IPB Version:v3.3.x
Contributor

Posted 05 April 2008 - 12:56 PM

Posted Image


File Name: SRD23 Icon Legends ver1.2
File Submitter: Sacred
File Submitted: 5 Apr 2008
File Updated: 15 Apr 2008
File Category: IP.Board v2.3.x Mods


Description
• This Mod Will Add Icon Legends To your Board.

• Choose if to show it on All Board or just On Index Board.

• Collapse Expand Options

• Ability to Choose From two Versins Long (shows 8 icons) or Short (shows 4 icons)

• Images now are pulled from Marcos so if your marcos are changed to .PNG extention, This mod will still WORK!!

Upgrade

If You Had This mod installed from before Please do the following steps:

failure to do these steps exactly as described will cause this mod to not function properly!

• Uninstall the previous version of this mod using the OLD installer

• Delete the old installer from you ftp

• Upload the NEW installer to /root/mod_install/

• Log in to your Admin CP and go to the Components tab -> (FSY22) Universal Mod Installer -> Manage Mod Installations page. Look for the entry for this mod, click the grey Options button beside it, and click the Install link. The installer script will read the mod's XML file and determine the proper installation steps, then you can click the Proceed button to have it execute these actions

• Redo The following class_display.php Edits




Change Log
• ver 1.2 - added option to choose from 2 versions either long or short.

• Images are now pulled from marcos.

• ver 1.1 Added Option to show on all board or just Index

• ver 1.1 - initial ver of the mod



Requirements
This mod was designed to be installed using the Universal Mod Installer, available from IPSBeyond or Invision Modding.

Files Affected

* sources\classes\clas_display.php
* 1 skin edit

IBmafia || InvisionModding

Click here to download this file
Facebook Senior Account Manager (MENA Region)
MSN Senior Account Manager (MENA Region)

Posted Image
@amgedosman | AmgedOsman.com

#2 AmgedOsman

AmgedOsman

    aka Sacred

  • IM Supporters
  • PipPipPipPipPipPipPipPipPip
  • 2,027 posts
  • Location:Egypt - Cairo
  • Real Name:amGed
  • IPB Version:v3.3.x
Contributor

Posted 09 April 2008 - 01:15 PM

Change Log

• ver 1.1 Added Option to show on all board or just Index

• ver 1.1 - initial ver of the mod


If you had this mod installed from before make sure to read the UPGRADE section in the read me file

Edited by Sacred, 15 April 2008 - 02:57 AM.

Facebook Senior Account Manager (MENA Region)
MSN Senior Account Manager (MENA Region)

Posted Image
@amgedosman | AmgedOsman.com

#3 AmgedOsman

AmgedOsman

    aka Sacred

  • IM Supporters
  • PipPipPipPipPipPipPipPipPip
  • 2,027 posts
  • Location:Egypt - Cairo
  • Real Name:amGed
  • IPB Version:v3.3.x
Contributor

Posted 15 April 2008 - 02:57 AM

Change Log

• ver 1.2 - added option to choose from 2 versions either long or short -  Images are now pulled from marcos.

• ver 1.1 Added Option to show on all board or just Index

• ver 1.1 - initial ver of the mod


If you had this mod installed from before make sure to read the UPGRADE section in the read me file
Facebook Senior Account Manager (MENA Region)
MSN Senior Account Manager (MENA Region)

Posted Image
@amgedosman | AmgedOsman.com

#4 Monkeyman

Monkeyman

    Coder

  • Members
  • PipPipPipPipPip
  • 120 posts
  • Location:Russia
  • Real Name:Dmitry
  • IPB Version:v3.0.x
Contributor

Posted 05 May 2009 - 08:47 PM

Here's a small edit if you want icon legends be properly collapsible (with cookies). You should install this mod first!

In sources/classes/class_display.php find:

			if ( $this->ipsclass->vars['iconleg_view'] == 1 && $this->ipsclass->vars['iconleg'] == 1 && $this->ipsclass->vars['srd_iver'] == 0)
			{
Add ABOVE:

				$collapsed_ids = ','.$this->ipsclass->my_getcookie('collapseprefs').',';

						$show['div_fo'] = '';
						$show['div_fc'] = 'none';

						if ( strstr( $collapsed_ids, ',iconleg,' ) )
						{
								$show['div_fo'] = 'none';
								$show['div_fc'] = '';
						}
Find all instances of:

<div class='borderwrap' style='display:none' id='fc_iconleg'>
And REPLACE WITH:

<div class='borderwrap' style='display:".$show['div_fc']."' id='fc_iconleg'>
Find all instances of:

<div class='borderwrap' style='display:show' id='fo_iconleg'>
And REPLACE WITH:

<div class='borderwrap' style='display:".$show['div_fo']."' id='fo_iconleg'>

Edited by Monkeyman, 05 May 2009 - 08:48 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users