|
|
|
|
Re: How about Chat [message #22767 is a reply to message #22719] |
Tue, 15 February 2005 14:18 |
Anonymous
|
|
|
|
What, are you an idiot? I am talking about adding a button to the menu on the pages that has [CHAT] as an option DESIGNED for this fud, NOT an externial.
So far I am not impressed with this app, seems there are no REAL hacks; calendar, chat, etc... And the support is slow and am getting answers from "junior members" or newbies..where are the programers or admins that shouls be answering these questions and creating these add-ins? I mean, you do ask for suggestions. Might I suggest you take a more active roll in this product if you want it to stay alive? I know its free but I would pay for a good board with add-ins and a "active" support staff... So my advice to anyone looking for BBS would be, "keep looking".
|
|
|
Re: How about Chat [message #22769 is a reply to message #22767] |
Tue, 15 February 2005 15:01 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This software is open sourece if you want some feature you can always write the "addon" yourself and if your programming skills not up to the task hire someone to do it for you. A forum is a bulletin board, not a swiss army knife of web utilities, like chats, calendars, e-mail apps etc... Therefor these are not included and will not be included in the standard distro.
FUDforum Core Developer
|
|
|
|
|
|
|
|
Re: How about Chat [message #40319 is a reply to message #38823] |
Sun, 10 February 2008 03:29 |
BAD35th
Messages: 61 Registered: February 2007 Location: Hammertown
Karma: 0
|
Member |
|
|
I added a chat to my forum using an external web app http://www.cbox.ws/ very easy to add it to the forums footer or header templates and it works great ! Very little maintenance.
If you scroll to bottom of our forum you can see it in action:
www.forums.tfbm.org
If anyone figures how to integrate it with FUDs user login let me know as that would be a nice to have, then people wouldn't have to enter their user names manually when they wish to chat. The functionality is in the software and its been done for VBB but not FUD.
[Updated on: Sun, 10 February 2008 03:32] Report message to a moderator
|
|
|
Re: How about Chat [message #40320 is a reply to message #40319] |
Sun, 10 February 2008 14:24 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
To integrate FUDforum with other systems you should use FUDAPI that provides login/logout API.
FUDforum Core Developer
|
|
|
Re: How about Chat [message #40478 is a reply to message #22680] |
Sun, 09 March 2008 10:42 |
Ernesto
Messages: 413 Registered: August 2005
Karma: 0
|
Senior Member |
|
|
I will not test this, so unsure if it will work.
Here is the code for the input boxes in your chatbox thingy:
<td valign="center" height="100%" align="center" id="tblmid" colspan="2">
<input type="hidden" value="" name="key"/>
<input type="text" onblur="frmblur(this, 'name');" onfocus="frmfocus(this, 'name');nme_warn()" class="frmtb" value="name" size="9" name="nme" maxlength="25" style="width: 577px;"/>
<input type="text" onblur="frmblur(this, 'message')" onfocus="frmfocus(this, 'message')" class="frmtb" value="message" size="9" name="pst" maxlength="200" style="width: 544px;"/><input type="submit" class="frmbtn" name="sub" value="Go" style="height: 20px; width: 29px;"/></td>
The one that looks like this, is what stores the username:
<input type="text" onblur="frmblur(this, 'name');" onfocus="frmfocus(this, 'name');nme_warn()" class="frmtb" value="name" size="9" name="nme" maxlength="25" style="width: 577px;"/>
Let's now write a FUD template code to check if a user is logged in, and if the user is logged in, we will not display this input box, but rather just type out the username of the forum user. Great idea batman!
So, we wrap this code around the username field:
{IF: _uid}
<input type="hidden" value="{VAR: usr->alias}" name="nme"/>
{VAR: usr->alias}<br />
{ELSE}
<input type="text" onblur="frmblur(this, 'name');" onfocus="frmfocus(this, 'name');nme_warn()" class="frmtb" value="name" size="9" name="nme" maxlength="25" style="width: 577px;"/>
{END}
See what I did there?
First i checked if the user was logged in with {IF: _uid}.
If he was, I placed his alias as the value of the input field, and then typed out his alias on the screen.
Then we did ELSE (if not logged in) we wrote the old regular input field and then we ENDED the IF check.
Perhaps the IF and END wont work in that locating since it could be wrappen in some other IF thingies, but I think it should work fine in the footer.
Ginnunga Gaming
[Updated on: Sun, 09 March 2008 10:43] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: How about Chat [message #159411 is a reply to message #22680] |
Sun, 31 May 2009 19:02 |
dfgngirl
Messages: 87 Registered: December 2005
Karma: 0
|
Member |
|
|
I was going to say that what "this didn't work for me" meant that there were no error messages of any kind, but rather it didn't seem to have an effect of integrating with Fud.
But now that I think about it, I should probably try other demo templates with this script as right now the phpfreechat's page has a dialog asking for a username. I will try it with a version that doesn't ask and see what happens.
PS: I did rebuild themes.
[Updated on: Sun, 31 May 2009 19:02] Report message to a moderator
|
|
|
|
|
|
|