numlock wrote:I have implemented this in my Leeloo Chat. .........."registered user only" IMHO.
Moderators: OldWolf, re*s.t.a.r.s.*2
numlock wrote:I have implemented this in my Leeloo Chat. .........."registered user only" IMHO.
Calman45 wrote:Built my own external system in HTML/Java ... problem fixed.
NautTboy wrote:Wow, i really like your setup. Add thumbnail in chat! Hidden Smiley Popup! Since phpfreechat is free, why couldn't you share with us your code and ideas?numlock wrote:I have implemented this in my Leeloo Chat. .........."registered user only" IMHO.
runebergen wrote:Anyone??
At least a hint at where the URL parse part is ?
( why is this support forum sooooooooo dead? ) hum
Crossin fingers for some help
Calman45 wrote:Hi folks,
Okay, here is how I manage image posts in our chat.
Firstly, go into your "chat.html.tpl.php" ... and locate a standard button (text color, bold, italics etc)
Create a new div below the last entry (or wherever you want it located)
-------------------------------------------------------------------------------------
(my example)
<!--image hut post icon-->
<img src="http://www.pool-chat.com/images/spacer.gif" height=1 width=10>
<div id="pfc_bt_delete_btn" class="pfc_btn">
<img src="<?php echo $c->getFileUrlFromTheme('IMAGES/YOURICON.png'); ?>"
id="pfc_bt_delete"
alt="Post Image"
title="Post Image"
class="pfc_bt_delete"
onclick="pfc.insert_text('[url]/YOURTHEME/YOURDIR/','.gif[/url]',true)" />
</div>
------------------------------------------------------------------------------------
Replace YOURTHEME/YOURDIR with your own setup, to reflect your theme/image dir. Upload images to this location, rehash your chat, then simply post them to chat using only the filename, as the code above will handle the path. I have set mine up for *.gif ... but you can easily make that jpg or wildcard.
You will obviously have to create your own small icon and reference it above "'IMAGES/YOURICON.png"
That's It.
Hope this helps?
All the best,
Cal
Calman45 wrote:Built my own external system in HTML/Java ... problem fixed.
Return to Feature Requests (v1.x)
Users browsing this forum: No registered users and 84 guests