[BETA] Message Icon Mod aka Posticon Mod v1.0.2

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
Night4554
Registered User
Posts: 99
Joined: Sun Apr 07, 2002 3:09 am

Post by Night4554 »

For ONE of the quick reply hacks here's what I did:

Code: Select all

#
# --[OPEN FILE]
#

viewtopic.php

#
# --[ FIND ]
#

   'U_HIDDEN_FORM_FIELDS' => ( ($userdata['user_attachsig'] ? '<input type="hidden" name="attach_sig" value="1" />' : "") . ($userdata['user_notify'] ? '<input type="hidden" name="notify" value="1" />' : "") . '<input type="hidden" name="mode" value="reply" /><input type="hidden" name="post" value="1"><input type="hidden" name="' . POST_TOPIC_URL . '" value="' . $topic_id . '" />' ), // Quick_Reply_MOD

#
#--[ REPLACE ]
#

   'U_HIDDEN_FORM_FIELDS' => ( ($userdata['user_attachsig'] ? '<input type="hidden" name="attach_sig" value="1" />' : "") . ($userdata['user_notify'] ? '<input type="hidden" name="notify" value="1" />' : "") . '<input type="hidden" name="mode" value="reply" /><input type="hidden" name="post" value="1"><input type="hidden" name="' . POST_TOPIC_URL . '" value="' . $topic_id . '" /><INPUT type="hidden" name="msg_icon" value="1"> ' ), // Quick_Reply_MOD

Theoretically it should work on all, but i'm not guarenetteeing, do a backup, and understand what's going on before you attempt it :)

In other news, i edited this hack to be configuarable on/off as well :mrgreen:
User avatar
lozt
Registered User
Posts: 527
Joined: Thu Aug 15, 2002 5:11 am
Location: Paradise

Post by lozt »

ok here is a newbie question.. .

how do i.. .?
#
#-----[ DATABASE CHANGES ]------------------------------------------
#

ALTER TABLE phpbb_posts ADD COLUMN post_icon TINYINT (2) UNSIGNED DEFAULT '1' NOT NULL;
ALTER TABLE phpbb_topics ADD COLUMN topic_icon TINYINT (2) UNSIGNED DEFAULT '1' NOT NULL;


if its myadminphp.. i have that but not sure how to use it.
:(
Thoul
Registered User
Posts: 810
Joined: Sun Jun 23, 2002 1:25 am
Location: USA
Contact:

Post by Thoul »

[nevermind, not enough time]
Last edited by Thoul on Sat Dec 07, 2002 5:32 am, edited 1 time in total.
User avatar
lozt
Registered User
Posts: 527
Joined: Thu Aug 15, 2002 5:11 am
Location: Paradise

Post by lozt »

everything sounds good to me. how long you think it will take for the final version to be ready?
User avatar
lozt
Registered User
Posts: 527
Joined: Thu Aug 15, 2002 5:11 am
Location: Paradise

Post by lozt »

took a while. . but sure worth the time.
this is just what i needed for my forum.

Much thanks!
Thoul
Registered User
Posts: 810
Joined: Sun Jun 23, 2002 1:25 am
Location: USA
Contact:

Post by Thoul »

lozt wrote: everything sounds good to me. how long you think it will take for the final version to be ready?


I don't think it would take very long at all; a lot of the code probably already exists in the smilies parts of phpBB. I'd say it would probably take a few days if I wait a bit and see if anyone wants any other features before releasing it.
User avatar
lozt
Registered User
Posts: 527
Joined: Thu Aug 15, 2002 5:11 am
Location: Paradise

Post by lozt »

yeah, that sound good. im not trying to rush you or anything.. . just wondering when ill need to update my forum.

:wink:
User avatar
lozt
Registered User
Posts: 527
Joined: Thu Aug 15, 2002 5:11 am
Location: Paradise

Post by lozt »

:arrow: :?: :?: :?: :?: :?: :?: :?: :?: :?:

OK, im going crazy with these 2 mods!!
(MSG Icons & Quick Reply Mod)

For some reason I can not have both of them on a forum.
If I only have the Quick Reply Mod.. . it works great!!

Once I add the MSG Icon Mod, I get an error message as stated below
General Error

Error in posting



Will I find any help here?
Night4554
Registered User
Posts: 99
Joined: Sun Apr 07, 2002 3:09 am

Post by Night4554 »

of course you will., hang on...

duh man, look at the top of this page, I posted a fix for some version of the Quick Reply mod...
User avatar
lozt
Registered User
Posts: 527
Joined: Thu Aug 15, 2002 5:11 am
Location: Paradise

Post by lozt »

which quick reply did you use?
i could not find the code on the one i was using
:(
Night4554
Registered User
Posts: 99
Joined: Sun Apr 07, 2002 3:09 am

Post by Night4554 »

Honestly, i dunnoe :p

Try adding <INPUT type="hidden" name="msg_icon" value="1"> by your quick reply box in viewtopic_body.tpl
User avatar
Sassy
Registered User
Posts: 95
Joined: Sat Aug 31, 2002 6:13 am

Post by Sassy »

i also had the same problems. if any of you know how to fix this let me know too
User avatar
lozt
Registered User
Posts: 527
Joined: Thu Aug 15, 2002 5:11 am
Location: Paradise

Post by lozt »

im not even sure what im doing my self..
sorry can help you there.
if anyone else knows how to fix this, please do reply to this post.
thanks


btw, i am using this one
http://www.phpbbhacks.com/viewhack.php?id=586

which one are you using Sassy?
TechDawgFan
Registered User
Posts: 43
Joined: Thu Sep 05, 2002 5:38 pm

Help!

Post by TechDawgFan »

I've got the mod installed and working but have one bug. BTW, great job! I really like this one!

My bug crops up when I preview a new post. I've been through the installation 4 times and can't find where I've done anything wrong, so maybe somebody else can give me some direction. If you need to see code for a particular file, let me know and I'll post it. What happens is the Messageicon select portion shows up twice when previewing. Looks like this:

Image

Anybody know where I need to start to look for the problem?

TDF (Chris)
Thoul
Registered User
Posts: 810
Joined: Sun Jun 23, 2002 1:25 am
Location: USA
Contact:

Post by Thoul »

Check the edits for templates/subSilver/posting_body.tpl. You may have done that twice.
Post Reply

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