Welcome Guest. Please Login or Register  


You are here: Index > Advanced Electron Forums > Mods > Topic : [request]Shoutbox

A2 Hosting

News:

Group Message
Hello Guest,

Welcome to the AEF Board. AEF is getting better and better and is also becoming more popular.
Take a few seconds to Register, its free, and it inspires us to work harder and improve on whatever we can improve on.
Give us some feedback, and tell your buddies about AEF!

Thanks,
The AEF Team

2


Threaded Mode | Print  

[request]Shoutbox
dr17
Group: Member
Post Group: Working Newbie
Posts: 66
Status:
First off, the Chat Box at AEF is detachable ^^ you could hover your mouse to the Quick Links at the header and click on Shout Box.

Secondly, you could also change the height of the Shout Box by editing the template itself.

Thirdly, you could also take off that diagonal lines between shouts also by editing the theme.

In other words, both the second and the third point depends on the theme that you use ^^

Lastly, I don't know if it's possible to show who are currently using the chatbox. Maybe it's possible, but I'll pass that out.


About the smiles and text formatting, you could also add that up at the themes.


Tip: It's located at the hf_theme.php. Edit the shout box right over there (Fixed shoutbox). You could edit the height, width...etc with that. You could also add up stuffs like smiles, and font formating by copying the same code from the reply theme ^^

-----------------------
Make sure you're mod is secure before sharing it  :nerd:

==> Creating Custom themes for AEF  :)  just post it at the theme section, and I'll see if I could get back to you  ;-D
IP: --   

[request]Shoutbox
jattofhell
Group: Member
Post Group: Newbie
Posts: 15
Status:
Got it, but i dont know how is it structured.

where do i add a line of code and what code to embed a java script for smile functions.

I dont know its the correct way, but what would you prefer.

because i dont think i can edit the whole function in the file you have preferred. 

thats why i am saying about adding java script.


Okey now edit 1

Is it possible to add a function in  shoutbox.js to call a css format file to add smiles function

also will be helpfull to allow specific group to use smile function.

What do you say. which one do you prefer coz. i have no idea where to start.








Edited by jattofhell : May 15, 2009, 10:39 pm
IP: --   

[request]Shoutbox
jlhaslip
Group: Support
Post Group: Super Member
Posts: 1949
Status:

Local / private text here
In the Admin Control Panel > Shoutbox settings > tick the boxes for bbcodes

-----------------------
Board Image
IP: --   

[request]Shoutbox
jattofhell
Group: Member
Post Group: Newbie
Posts: 15
Status:
Quote From : jlhaslip May 16, 2009, 7:25 am
In the Admin Control Panel > Shoutbox settings > tick the boxes for bbcodes


Thanks but i only want to allow smiles, which are defined by the admin (or any group)

No external links, scripts or anything of that nature.


IP: --   

[request]Shoutbox
jattofhell
Group: Member
Post Group: Newbie
Posts: 15
Status:
Also how about adding something like this to stop scripts in shoutbox.js

Code
function killscript($value){
    $value = str_replace("<script>"," ",$value);
    $value = str_replace("</script>"," ",$value);
    $value = str_replace("javascript://","Sorry, no JavaScript allowed.",$value);
    return $value;
}



Edited by jattofhell : May 16, 2009, 3:39 pm
IP: --   

[request]Shoutbox
jlhaslip
Group: Support
Post Group: Super Member
Posts: 1949
Status:

Local / private text here
Check that path I provided up there.
There are tick boxes for BBcode, Smilies and Special BBcode.
Tick the ones that suit you.

-----------------------
Board Image
IP: --   

[request]Shoutbox
jattofhell
Group: Member
Post Group: Newbie
Posts: 15
Status:
Quote From : jlhaslip May 16, 2009, 9:41 pm
Check that path I provided up there.
There are tick boxes for BBcode, Smilies and Special BBcode.
Tick the ones that suit you.


well, that will allow everything including php and java scripts.
which will open doors for vulnerabilities..because it is impossible to control every user.
IP: --   

[request]Shoutbox
dr17
Group: Member
Post Group: Working Newbie
Posts: 66
Status:
I don't think that it would allow php and java scripts... It would just allow BBcodes, smilies and special bbcodes

-----------------------
Make sure you're mod is secure before sharing it  :nerd:

==> Creating Custom themes for AEF  :)  just post it at the theme section, and I'll see if I could get back to you  ;-D
IP: --   

[request]Shoutbox
jlhaslip
Group: Support
Post Group: Super Member
Posts: 1949
Status:

Local / private text here
dr17 has it correct.

-----------------------
Board Image
IP: --   

[request]Shoutbox
jattofhell
Group: Member
Post Group: Newbie
Posts: 15
Status:
I dont know which ver. are you referring to but hear is the proof.

Board Image


IP: --   

[request]Shoutbox
dr17
Group: Member
Post Group: Working Newbie
Posts: 66
Status:
Ohhh but you did say this right:
Quote
Thanks but i only want to allow smiles, which are defined by the admin (or any group)

No external links, scripts or anything of that nature.


So you just need to enabled normal BBC not the Special BBC ^^

-----------------------
Make sure you're mod is secure before sharing it  :nerd:

==> Creating Custom themes for AEF  :)  just post it at the theme section, and I'll see if I could get back to you  ;-D
IP: --   

[request]Shoutbox
jattofhell
Group: Member
Post Group: Newbie
Posts: 15
Status:
not exactly, we were talking about adding an embedded smile bar to the shoutbox.


Edited by jattofhell : May 18, 2009, 1:04 pm
IP: --   

[request]Shoutbox
jlhaslip
Group: Support
Post Group: Super Member
Posts: 1949
Status:

Local / private text here
Quote From : jattofhell May 18, 2009, 1:02 pm
not exactly, we were talking about adding an embedded smile bar to the shoutbox.


That is not available in the AEF yet.
If you write a Mod to do it, please post it here on the Anelectron Boards.
Thanks.


-----------------------
Board Image
IP: --   

[request]Shoutbox
jattofhell
Group: Member
Post Group: Newbie
Posts: 15
Status:
Quote From : jlhaslip May 18, 2009, 3:59 pm
Quote From : jattofhell May 18, 2009, 1:02 pm
not exactly, we were talking about adding an embedded smile bar to the shoutbox.


That is not available in the AEF yet.
If you write a Mod to do it, please post it here on the Anelectron Boards.
Thanks.


this was the most important part of conversation in above posts.

I was trying to get to know the structure of shoutbox. To add smiles in it..
IP: --   

[request]Shoutbox
The-King-Of-Kings
Group: Member
Post Group: Newbie
Posts: 3
Status:
Whe should be able to edit the shoutbox refresh rate.
IP: --   

« Previous    Next »

Threaded Mode | Print  

2


Jump To :


Members who read this topic
, pulkit, Hamed, Shax, Kai, krates, jlhaslip, Positron, chandy, higge, Lewtheo, oxlo, SilverSonic, cakal93, haseeb, elevendude, Banned, usawhney, stvnkch, erased, StarD, synapse, rol, svoy, mahirharoon, Jordan, bloomer, mknjhill, Joshy, weirdpeople, Fame, xxrockthedrumsxx, porreta, h3xb00t3r, h0lyknight, djshab, nene94, malfunkshun, BMR777, kgw, Matt, ZerOne01, Amrik09, TMVFans, Jammiedodger, satishd, haccer, annan, abhisheksaini, Daniel, amrdesigns, FiwiPITO, boby, custa, JMSBeta, jacob, Ivan, whinis, pitbull, Alex, execguy, xeidy, hinneni, downsy007, set, mozz, nfsalon, duksi1993, khena25, alex597, mSv, andras, caranibieros, cfora, MafiaScript, mosc63, fatrat, teto_nesta, numsi, Veejay, dExIT, Crazy_girl, ahmed_farouk, aefler, Coach, purian, okyanus, Rdogg999, Lopalong, Kalamasnik, fiveflat, JCseeker, mntm, Dirkb, snAke, raciloni, dr17, Jntg4, Fabis94, JoJolThelMaestro, benjamin, sateduc, Daathmedia, aryan, Xray3109, Haibara, coolgames, hayyan, Thomas_G, absat, Pico4U, RSI, kroto, haydenbrown, Ghadamyari, stunod, ashisbiswas, warminster, Aptyp, rfizzle, Faks, tuckan, orupoo, jattofhell, llElNeneMxll, Buster, ps3ia, Taz, Mokeli, VasiliyRS, idosidos, REDSEW, gone_bdg, ssdcommander, nos, andiack, PinoyMafia, asimo, Duong, ajakkrit, CrazyEs, CoreIssue, The-King-Of-Kings, moro, ghazi119, rudolf, Layer8Development, tinstone, vbvahid, zouk, Rebekah, Psychotoxic, sapirdvash, mmsdown, korsanturk61, velias, amir, ShaunY, cristrixy, Danbau, behotmit, ravirajpoot, Ares, raiders, Dr.Manhattan, LaBrie, xfiles666, tarsisd2, ~NanoThrash~, CruzBishop, 11minutes, sathishraja2, baadshah, Randika, sachin, Sammael, nexgenforum, warezjunky, scripter, gaguns, blakker, bosco, Pakos, Nokia, antros


Users viewing this topic
1 guests, 0 users.

A2 Hosting

All times are GMT. The time now is December 12, 2019, 10:19 pm.

  Powered By AEF 1.1.0 Preview © 2007-2011 AEF Group. All rights reservedQueries: 13  |  Page Created In:0.219