https://www.icyphoenix.com/viewtopic.php?f=28&t=6594
-----------------------------------
TuningBEB2008
Wed 21 Oct, 2009 07:53

[MOD IPv1.3.0.*] Post Icon
-----------------------------------
[color=darkmaroon][size=16][b]Post icon 1.2.0 for IPv1.3.0.*[/b][/size][/color]

[color=blue][b]This mod will allow to add an icon in front of each topic title.[/b][/color]

To use this MOD go to...
ACP -> General -> Post Icons

[spoiler]#-----[ INSTALL ENGLISH ]--------------------------------
	Package Icy Phoenix Modifications
	File $Id: install_en_1.txt
	Version for Icy Phoenix: 1.2.0
	Author: Ptirhiik < ptirhiik@clanmckeen.com > (Pierre) http://rpgnet.clanmckeen.com
	Copyright (c) 2003 Ptirhiik
	License http://opensource.org/licenses/gpl-license.php GNU Public License

	Extra credits for this file:
	TuningBEB2008 < tuningbeb2008@hotmail.com > Demo: http://testicyforummods.site11.com/forum.php
			ADAPTED 21th Octuber 2009
			UPGRADE 04th November 2009

	Title: Post Icons: Icons for topics and posts
	Description: This mod will allow to add an icon in front of each topic title.

	Installation Level:	Easy
	Installation Time:	10 Minutes

	Files To Edit (6):
				posting.php
				viewtopic.php
				includes/functions.php
				includes/functions_post.php
				includes/topic_review.php
				templates/default/posting_body.tpl

	Included Files (32):
				adm/admin_icons.php
				images/icon/*
				includes/def_icons.php
				includes/functions_mods_settings.php
				includes/mods_settings/mod_post_icons.php
				language/lang_english/lang_extend_post_icons.php
				templates/common/acp/admin_icons_body.tpl
				templates/common/acp/admin_icons_delete_body.tpl
				templates/common/acp/admin_icons_edit_body.tpl
				templates/common/acp/def_icons.tpl

	Comments:

	Author Notes: (Ptirhiik)
			You have to CHMOD to 666 includes/def_icons.php in order to be able to edit it
			in the ACP.

	WARNING - WARNING - WARNING:
			Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD and DB.
[/spoiler]

[b][i]Extra langs... lang_french, lang_german, lang_spanish[/i][/b]

[b][i]include Install_en.txt and Install_sp.txt[/i][/b]

[b][color=red]Before adding this MOD to your Icy Phoenix, you should Backup all files related to this MOD and DB.[/color][/b]

[b]Demo:[/b] [url=http://allinforumtec.netii.net/viewforum.php?f=1][color=green][b]Testing Icy Site[/b][/color]

Greetings  :mricy:  :mrgreen:


-----------------------------------
spydie
Wed 21 Oct, 2009 12:34

Re: [Beta] Post Icon 1.0.1 For IPv1.3.0.*
-----------------------------------
Nice job.

testing it right now


-----------------------------------
Mighty Gorgon
Wed 21 Oct, 2009 19:31

Re: [Beta] Post Icon 1.0.1 For IPv1.3.0.*
-----------------------------------
Great, thanks for sharing!


-----------------------------------
Informpro
Wed 21 Oct, 2009 21:18

Re: [Beta] Post Icon 1.0.1 For IPv1.3.0.*
-----------------------------------
Thanks !

I think this feature have to be included in IcyPhoenix Default Package :D


-----------------------------------
Chaotic
Fri 23 Oct, 2009 02:41

Re: [Beta] Post Icon 1.0.1 For IPv1.3.0.*
-----------------------------------
Great work!


-----------------------------------
Yros
Fri 23 Oct, 2009 14:54

Re: [Beta] Post Icon 1.0.1 For IPv1.3.0.*
-----------------------------------
[quote user="Informpro" post="45192"]I think this feature have to be included in IcyPhoenix Default Package :D[/quote]
Hmmm ... Yes thanks for this mod but IMHO I don't think this should be included in default package ( with global switch, as add-on, why not ). With Frozen IcyPhoenix, loading your demo page took me 1-3 secs ( without a lot or big topics ) so what would it be with living forum with pages slowed by each smilie / picture between each topic name ? =/

But that's just my humble opinion. Thanks anyway for sharing.


-----------------------------------
TuningBEB2008
Tue 03 Nov, 2009 07:16

Re: [Beta] Post Icon 1.0.1 For IPv1.3.0.*
-----------------------------------
i´m back xD
De vuelta xD

well i´m working in the "new version" 1.2.0
i´m upgrade the files and trying to do something like this (phpBB3):

Bueno, estoy trabajando en la "nueva versión" 1.2.0
Estoy actualizando los archivos y tratando de conseguir algo como esto (phpBB3):

[img]http://img230.imageshack.us/img230/6931/defaulttopicicon2.jpg[/img]

This is what I did _ Esto es lo que hice

[img]http://img252.imageshack.us/img252/2743/copiade1viewforumphpevo.png[/img]

What believe???
Que opinan?

Greetings...
Saludos...


-----------------------------------
Mighty Gorgon
Tue 03 Nov, 2009 10:23

Re: [Beta] Post Icon 1.0.1 For IPv1.3.0.*
-----------------------------------
It looks really nice, many users will find this very useful.


-----------------------------------
TuningBEB2008
Thu 05 Nov, 2009 05:41

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Thanks for the comments, update the download link ... downloaded please xD

Enjoy  :mryellow:


-----------------------------------
Aerosmith
Fri 06 Nov, 2009 15:26

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Thank you very much, this excellent.  :mrblue:  :mrblue: 

Greetings


-----------------------------------
xmenfile
Thu 03 Dec, 2009 14:53

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Hello there,

I am installing this mod and running into conflict files when uploading includes/functions_mods_settings.php.  IP already has this file and should i over ride it?  of course, i backed up db & files.

Thank you for this mod,

xmenfile


-----------------------------------
TuningBEB2008
Thu 03 Dec, 2009 18:23

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
xmenfile, I think is the same file :P


-----------------------------------
xmenfile
Thu 03 Dec, 2009 19:47

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
The one comes with IP package seems to be bigger than the one in Post Icon.  Do i have to add/edit that file or Ok not to override the file from IP package?  

Thank you TuningBEB2008 for your support :)

xmenfile


-----------------------------------
TuningBEB2008
Thu 03 Dec, 2009 20:43

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Well xmenfile, not replace with the file from post icon, greetings  :mricy:


-----------------------------------
Informpro
Fri 04 Dec, 2009 09:39

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
And If this file have already been modified by another mod, What's the way ? :roll:


-----------------------------------
xmenfile
Wed 30 Dec, 2009 07:35

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
wow it works great :)  

Thanks again


-----------------------------------
DShadow
Sat 16 Jan, 2010 09:07

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Hi, 
I just installed the mod and everything seems to be working right (no errors), but the icons aren't actually showing?

Could anyone help. 8)


-----------------------------------
TuningBEB2008
Sun 17 Jan, 2010 04:57

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
[quote user="DShadow" post="47143"]Hi, 
I just installed the mod and everything seems to be working right (no errors), but the icons aren't actually showing?

Could anyone help. 8)[/quote]

you view got something like this???:
[img]http://img258.imageshack.us/img258/3637/testqn.png[/img]

edit: templates/default/posting_body.tpl

Find:
[code linenumbers=false]						<input type="radio" name="post_icon" 

value="{switch_icon_checkbox.row.cell.ICON_ID}"{switch_icon_checkbox.row.cell.ICON_CHECKED}>&nbsp;{switch_icon_ch

eckbox.row.cell.ICON_IMG}&nbsp;&nbsp;[/code]

Replace with:
[code linenumbers=false]						<input type="radio" name="post_icon" value="{switch_icon_checkbox.row.cell.ICON_ID}"{switch_icon_checkbox.row.cell.ICON_CHECKED}>&nbsp;{switch_icon_checkbox.row.cell.ICON_IMG}&nbsp;&nbsp;[/code]

Greetings...


-----------------------------------
DShadow
Sun 17 Jan, 2010 08:11

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Sorry I wasn't very clear.

This is what i'm getting:

[img]http://img405.imageshack.us/img405/5355/pic1pd.jpg[/img]
Shouldn't the icon be there?

[img]http://img196.imageshack.us/img196/4800/pic2cy.jpg[/img]
This is whats selected for the post.

hmmmmmmmmmmmm.

Thanks in advance,
Al :P


-----------------------------------
TuningBEB2008
Sun 17 Jan, 2010 20:19

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
[quote user="DShadow" post="47153"]Sorry I wasn't very clear.

This is what i'm getting:

[img]http://img405.imageshack.us/img405/5355/pic1pd.jpg[/img]
Shouldn't the icon be there?

[img]http://img196.imageshack.us/img196/4800/pic2cy.jpg[/img]
This is whats selected for the post.

hmmmmmmmmmmmm.

Thanks in advance,
Al :P[/quote]

Select the icon and submit post :P


-----------------------------------
My_PeSePe
Thu 18 Mar, 2010 15:50

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Sorry i one error in this line 408 :  Is IN File function_post.php


[code]Error in posting

DEBUG MODE

UPDATE ip_posts SET post_username = '', post_text = 'Pues esto es una simple prueba de los iconos en post , pero al parecer no se puede editar los post ( anteriorres ni nuevos ) citar tampoco se puede . Tranquilos se esta solucionando todos estos problemas .', post_text_compiled = '', post_subject = 'Prueba de icono', enable_bbcode = 1, enable_html = 0, enable_smilies = 1, enable_sig = 1,post_icon = 1,, enable_autolinks_acronyms = 1 WHERE post_id = 480

Line : 408
File : functions_post.php[/code]


-----------------------------------
TuningBEB2008
Wed 31 Mar, 2010 07:12

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
try to reinstall in my test forum (last version 1.3.0.53a, works fine)
http://allinforumtec.netii.net/forum.php


-----------------------------------
KasLimon
Mon 05 Apr, 2010 01:42

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
My_PeSePe, you had edited wrongly the file functions_post.php
[b]Find[/b]:[code linenumbers=false],, enable_autolinks_acronyms[/code][b]Replace with[/b][code linenumbers=false], enable_autolinks_acronyms[/code]

TuningBEB2008, thanks for this great mod ;) I've installed it on my forum. I have just two things to say:
1. I get a Hacking Attempt when deleting icons from ACP... Maybe it is my fault... It is unnecessary for me to delete icons, but anyway I thought you should know ;) 
2. I'd better add a lang key for parsing that icon_none... He he it's just an opinion :P 

Greets!


-----------------------------------
TuningBEB2008
Mon 05 Apr, 2010 05:19

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
1. I know that, is a bug can´t solved
2. Great suggestion, but i prefer no change too much the original mod :P

maybe you can do better Kas :mricy:


-----------------------------------
spydie
Mon 05 Apr, 2010 11:47

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
To point one.

Maybe you consider to kill CRTracker in that file.

Or you add the file to tracker list


-----------------------------------
KasLimon
Mon 05 Apr, 2010 13:57

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Ok, it was a strange error... a form action was set to a includes file... and if you access directly to that include, the file returns that hacking attempt

[b]Open[/b] [i]adm/admin_icons.php[/i]
[b]Find[/b][code linenumbers=false]				'S_ACTION'		=> append_sid(IP_ROOT_PATH . 'includes/def_icons.' . PHP_EXT),[/code][b]Replace with[/b][code linenumbers=false]				'S_ACTION'		=> append_sid('admin_icons.' . PHP_EXT . '?mode=del'),[/code]

Greets! :mri:


-----------------------------------
spydie
Mon 05 Apr, 2010 14:09

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Thx Kas


-----------------------------------
My_PeSePe
Mon 05 Apr, 2010 15:42

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Ok , thanks in correct


-----------------------------------
spydie
Mon 05 Apr, 2010 16:30

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Installed and running.

Perfect


-----------------------------------
TuningBEB2008
Mon 12 Jul, 2010 04:13

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Thaks Kaslimon, i update the file and rewrite some things in the code :P and delete the includes/functions_mods_settings.php  :mricy:


-----------------------------------
spydie
Mon 12 Jul, 2010 10:23

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
[quote user="TuningBEB2008" post="49465"]Thaks Kaslimon, i update the file and rewrite some things in the code :P and delete the includes/functions_mods_settings.php  :mricy:[/quote]

did you update the download ??


-----------------------------------
TuningBEB2008
Mon 12 Jul, 2010 20:40

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Yes i update the download  :mrgreen:


-----------------------------------
Dbz_Warrior
Thu 12 Aug, 2010 00:16

Re: [MOD IPv1.3.0.*] Post Icon
-----------------------------------
Thanks Man you saved me lol +1 :mrgreen:


