Not logged in. · Lost password · Register
Forum: Support General support RSS
Shoutbox!
Plugin
Avatar
Kszyhuu #1
User title: Just me.
Member since Oct 2009 · 4 posts · Location: Zielona Góra, Poland
Group memberships: Members
Show profile · Link to this post
Subject: Shoutbox!
Hi!
There is no Shoutbox plugin for UNB, so I've decided to do it myself. I can't agree with this:

Quote by Yves:
Nein, ich habe keine Shoutbox gemacht und kenne keine fürs UNB. Habe bislang auch nur wenige gesehen und finde sowas eine sehr chaotische, unkoordinierte und nicht zielführende Art der Kommunikation. Kann mich mit meiner geringen Erfahrung aber auch täuschen.
Shoutbox is very useful stuff. It brings users closer to each other. They can talk there without any moderation etc. and they don't have to wait for posting(it's too slow sometimes).

My Shoutbox isn't complicated. It's quite simple plugin, but I have small problem. I don't know, how to make an installation file of my plugin. Everything is 'hand-made'. I mean, I've changed all files myself, without any scripts, etc.
Can somebody tell me, how to do it? The 'instalation guide' have to copy some files to indicated directory(that's not a big problem), connect Shoutbox with UNB database(not a big problem too), change file cp.inc.php- add option 'switch on/off Shoutbox' somewhere, and change file main.html(in tpl folder) by adding the html code of my Shoutbox. Can somebody hepl me?

P.S.- Sory for all language mistakes. :)


__________________________________________________________________________________________________________________

Halo!
Ich habe gesehen, dass das ist keine Shoutbox für UNB, und ich habe entschieden zu machen das eigenhändig. Ich kann nicht übereinstimmen mit das:

Quote by Yves:
Nein, ich habe keine Shoutbox gemacht und kenne keine fürs UNB. Habe bislang auch nur wenige gesehen und finde sowas eine sehr chaotische, unkoordinierte und nicht zielführende Art der Kommunikation. Kann mich mit meiner geringen Erfahrung aber auch täuschen.
Shoutbox ist sehr brauchbar. Das anbrecht Users. Sie können sprechen über alles, ohne moderation etc, und sie müssen nicht für antworten warten(das ist sehr langsam manchmal).

Meine Shoutbox ist nicht kompliziert. Das ist eine primitiv plugin, aber ich habe kleinen problem. Ich weiss nicht, wie einem installateur machen. Alles ist handgearbeitet- ich habe allem files eigenhändig geändert, ohne automat.
Kann jemand sagen, wie soll ich das machen? Das installateur müsst ein paar files zu nachmachen/kopieren(kein problem für mich), einen Shoutbox mit UNB datenbasis zu verbinden(kein problem auch), eines cp.inc.php file zu wechseln- einen schalter (on/off) zugeben und eines main.html file zu wechseln(tpl folder)- zugeben einen html code mit meinem Shoutbox. Kann jemand mir helfen?

P.S.- Entschuldigung für allem fehler. :)


__________________________________________________________________________________________________________________


Jeżeli ktoś z Polski potrafi pomóc, to proszę o kontakt mejlowy- kszyhuu@gmail.com. :) Nigdy nie tworzyłem instalatorów, więc pewnie wystarczy jakieś niewielkie nakierowanie mnie na rozwiązanie.
Who's your daddy?
Avatar
Yves (Administrator) #2
User title: UNB developer & webmaster
Member since Jan 2004 · 3856 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
What do you mean with "installation file"? The plug-in concept in UNB says you write a PHP source file that implements a number of defined functions and put it in the unb_lib/plugins directory. It is automatically discovered and loaded. UNB will call the defined functions in it so that the plug-in can register itself to certain hooks to customise UNB's bahaviour in some situations. This way you can add CP pages with your own options, add a new content page to show your shoutbox UI and so on. Just have a look at the provided sample plug-ins in the extra/ directory to see how it works.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Avatar
Kszyhuu #3
User title: Just me.
Member since Oct 2009 · 4 posts · Location: Zielona Góra, Poland
Group memberships: Members
Show profile · Link to this post
Yeah, I got it. I did it, just like you said, and it partly work's. Problem exists, when I want to display it. I can see and use my Shoutbox here: /forum?req=shoutbox or /schoutbox. But I don't wanna display it there. I'd rather show it in the main forum page(/forum?req=main or /forum), under statistics of users online.

[Image: http://img6.imageshack.us/img6/2705/shoutboxv.jpg]
That's what I'm talking about. I can't insert it there. That's the problem! :)
Who's your daddy?
Avatar
Yves (Administrator) #4
User title: UNB developer & webmaster
Member since Jan 2004 · 3856 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
There's the adsense plug-in that can insert advertisements virtually everywhere on diverse pages. I'm pretty sure it can also show ads where you want your shoutbox to appear. Maybe you can learn from the adsense plug-in how that can be done? If not I'll have to look into it again.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Avatar
Kszyhuu #5
User title: Just me.
Member since Oct 2009 · 4 posts · Location: Zielona Góra, Poland
Group memberships: Members
Show profile · Link to this post
Okey, I'll try. Thanks! :)
Who's your daddy?
Rumbelstilzchen #6
Member since Sep 2005 · 137 posts
Group memberships: Members
Show profile · Link to this post
Also the "pinwand plugin" is similar to a shoutbox. I think if you merge both the adsense and the pinwand you get a shoutbox.
Jugendkreis
petrosilius.de
Avatar
Kszyhuu #7
User title: Just me.
Member since Oct 2009 · 4 posts · Location: Zielona Góra, Poland
Group memberships: Members
Show profile · Link to this post
I don't like 'pinwand plugin'. :-p
I've almost done my shoutbox. I'll release it in few days :)
Who's your daddy?
brawsky #8
Member since Jan 2011 · 1 post
Group memberships: Members
Show profile · Link to this post
Hello    I will try. ^^"
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Page created in 165.1 ms (123 ms) · 91 database queries in 100.2 ms
Current time: 2013-06-19, 01:18:40 (UTC +02:00)