Firefox PHP

Easysmilies for Phorum 3.4

Posted by JP 
Re: Icons for german users
January 14, 2004 11:14AM
I try to upload it on another server - but i first have to arrive at home ...
German Icons
January 14, 2004 04:57PM
JP
Re: Easysmilies for Phorum 3.4
January 15, 2004 04:09PM
Hi,

Sorry, I have been a little bit busy these days. Here is some answers :

> does it work for Phorum 3.4.6 ?
Yes, the form.php file has not changed from 3.4.5 to 3.4.6 ; and the form.php is the only file I have changed. Other files are added.

> Between, what is the code to add if I don't want to change completely the form.php ?
Look at the form.php file and search for "easysmilies" word. I have commented every modifications.

> But does it work on Phorum 5.0.2, anyone ?
No. Phorum 5 is totally different from Phorum 3.

Re: Easysmilies for Phorum 3.4
January 25, 2004 05:34AM
And if you can't write to the folder because it's out of reach (as it shoud be because it's recommended by phorum), do the following:

Upload settings/easysmilies.php to phorum/admin/smiliesettings/easysmilies.php
and then....

-----------------------------------------------------------------
1) Add the easysmilies_dir line to common.php. (change the value of $easysmilies_dir to the path where your phorum is).

$settings_dir='/home/sites/site150/phorum_settings';
$easysmilies_dir='/home/sites/site150/web/gcc/forum/admin/smiliesettings';

and ad a definition in rule 231 t/m 235 of common.php:

$PHORUM['settings_dir']=$settings_dir;
$PHORUM['easysmilies_dir']=$easysmilies_dir;
$PHORUM['include']='./include';
$PHORUM['group_cache']="$settings_dir/cache_user2group.php";
$PHORUM['moderator_cache']="$settings_dir/cache_moderators.php";

-----------------------------------------------------------------
2) Change the settings dir in include/esf.php:

<?PHP
include ($PHORUM['easysmilies_dir']."/easysmilies.php");

-----------------------------------------------------------------
3) Change the settings dir in plugin/easysmilies/plugin.php:

<?php
if ( !defined( "_COMMON_PHP" ) ) return;
if(!file_exists($PHORUM['easysmilies_dir']."/easysmilies.php")) return;
include($PHORUM['easysmilies_dir']."/easysmilies.php");

-----------------------------------------------------------------
4) Change the settings in plugin/easysmilies/admin.php;

<?PHP
if ( !defined( "_COMMON_PHP" ) ) return;
if($do!="props") return;

$ReplaceDir = $PHORUM['easysmilies_dir'];



That's it, I did this setting for Phorum 3.4.6 and it worked! :o)
Re: Easysmilies for Phorum 3.4
January 25, 2004 08:36PM
It's strange becaùse me I have phorùm 3.4.6 and I don't need this !!!...all is ok....no pb with this mod ....
+
Re: Easysmilies for Phorum 3.4
January 26, 2004 07:44AM
It works but I'd recommend improvement of design - add some little space between smilies in form.php and improve design of the buttons of the next row. This is the reason which stopped me from using your plugin.
JP
Re: Easysmilies for Phorum 3.4
January 26, 2004 04:20PM
Syskhann : Vincevince's modification is only if you have moved your admin directory out of reach.
+ : Sorry, I have no artistic aptitude. I have asked once If someone could draw prettier icons, but it seems that no one has any artistic aptitude ;(

Re: Easysmilies for Phorum 3.4
January 27, 2004 02:09AM
oki oki ;)....
And JP I do this .....If ù want.....
Attachments:
open | download - new-icons.zip (16.8 KB)
JP
Re: Easysmilies for Phorum 3.4
January 27, 2004 08:09AM
Much better than mines, thank you.

Re: Easysmilies for Phorum 3.4
January 31, 2004 09:38AM
Hi, I have translated it into german.
Attachments:
open | download - temp.zip (1.7 KB)
Dobbo
Re: Easysmilies for Phorum 3.4
March 03, 2004 12:01PM
Just added it to my forum took less than an hour to st up and after a bit of tweaking works perfectly.

Brilliant cheers.
syskhann™
Re: Easysmilies for Phorum 3.4
March 08, 2004 12:07PM
I want the add of the code [Hide][/Hide] ....... If someone can help me....
JP
Re: Easysmilies for Phorum 3.4
March 08, 2004 06:28PM
I don't think that [Hide] [/Hide] is supported by Phorum (?)

Re: Easysmilies for Phorum 3.4
April 10, 2004 09:47PM
Excellent job JP !!! - thank you for all of your hard work. :)
BenDR
Code but no image
April 15, 2004 09:15AM
HI

I just see the code of the smilies, images are right on the form but I can't see them in the post.
Sorry to post this message I have noticed that someone asked the same thing, but the solution you gave didn't fixed my pb!
I have phorum 3.4.8.

Any advise would be appreciate,
Thanks
Ben
JP
Re: Code but no image
April 15, 2004 05:26PM
Are you sure to have activated the plugin in the admin center ?

Re: Easysmilies for Phorum 3.4
April 15, 2004 06:33PM
Works great for me but I could do with the edit.php page also having the smilies and html icons... will this be added eventually do you think or is it relatively straightforward to do myself??

ta
JP
Re: Easysmilies for Phorum 3.4
April 16, 2004 08:00AM
I prefer not modifing more than 1 of Phorum file. If you want do it by yourself, look at form.php and search for "easysmilies" word. Copy and past where you want.

Re: Easysmilies for Phorum 3.4
April 16, 2004 11:26AM
I'll have a go. Is that the only page I need to tweak to get the emoticons and java in the edit.php page?

thanks

Richard
JP
Re: Easysmilies for Phorum 3.4
April 18, 2004 11:04AM
Normally yes, but I have never look at it.

Sorry, you do not have permission to post/reply in this forum.