[Beta] ForumDescribePicture[FDP]

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply
McLR
Registered User
Posts: 95
Joined: Thu Aug 21, 2003 12:51 pm

[Beta] ForumDescribePicture[FDP]

Post by McLR »

Hi
Here is my first very simple MOD :)

Code: Select all

##########################################
## Title: Forum Describe Picture [FDP]
## Version: 0.1
## Author: McL [webmaster@talkt.com] - http://talkt.com
## Description: This mod create a picture near the "folder picture" of each forum to describe it
## Installation Level: 	Very Easy
## Installation Time: 	1 Minute Or Less
## Files To Edit: 2
##      index.php 
##      templates/subSilver/index_body.tpl 
##
## Included Files: 0
##      No Included Files
## Tested On PHPBB 2.0.6
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
##
## Revision History:
##	
## v0.1 - Beta
##	
##
#################################################################

## 
##----------[ OPEN ]------------------------------------- 
## 

index.php 

## 
##----------[ FIND ]------------------------------------- 
## 

                  $forum_id = $forum_data[$j]['forum_id']; 

## 
##----------[ AFTER, ADD ]------------------------------- 
## *   XXX= Here put your site URL including a"http://" to your FDP folder

                  $forum_fdp = 'XXX'.$forum_id.'.gif'; 

## 
##----------[ FIND ]------------------------------------- 
## 

                        'FORUM_FOLDER_IMG' => $folder_image, 

## 
##----------[ AFTER, ADD ]------------------------------- 
## 

                        'FORUM_FDP' => $forum_fdp, 

## 
##----------[ OPEN ]------------------------------------- 
## 

templates/subSilver/index_body.tpl 

## 
##----------[ FIND ]------------------------------------- 
## 

<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&{L_FORUM}&</th> 

## 
##----------[ IN LINE , FIND ]----------------------------- 
## 
"2"
## 
##----------[ IN LINE , REPLACE ]----------------------------- 
## 
"3"
## 
##----------[ FIND ]------------------------------------- 
## 
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>  

## 
##----------[ IN LINE , FIND ]----------------------------- 
## 
"2"
## 
##----------[ IN LINE , REPLACE ]----------------------------- 
## 
"3"
## 
##----------[ FIND ]------------------------------------- 
## 
	<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
## 
##----------[ BEFORE,ADD ]----------------------------- 
## 

        <td class=row1 align="center" valign="middle" width="50" height=50><span class="forumlink"><img src="{catrow.forumrow.FORUM_FDP}"></SPAN></TD> 

## 
##----------[ SAVE AND CLOSE ALL FILES ]----------------- 
## 
##     Eom 
## 
##----------[ HOW TO USE ??? ]----------------- 
##
## The Easiest way is : 
## right click on the "X" near the "folder picture"
## and there "properties" , there will be an URL 
## Put there the image using your FTP client
## Have a Nice Day :D
:arrow: :arrow: :arrow: :wink:
testebr
Registered User
Posts: 303
Joined: Thu Nov 28, 2002 5:05 am

Post by testebr »

please where find a demo?
McLR
Registered User
Posts: 95
Joined: Thu Aug 21, 2003 12:51 pm

Post by McLR »

testebr wrote: please where find a demo?

Here :
www.talkt.com/FDP.JPG
:roll:
take care it from right to left , besause it in hebrew version of forum
but you can use it in left to right forum too , it doesn't matter
testebr
Registered User
Posts: 303
Joined: Thu Nov 28, 2002 5:05 am

Post by testebr »

ok, thanks for help boy.

this mod is very nice.
tealc
Registered User
Posts: 27
Joined: Fri Mar 14, 2003 3:04 pm

Post by tealc »

FDP is a german party ;)
Post Reply

Return to “[2.0.x] MODs in Development”