vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Chat Modifications - Dream's Chatbox (https://vborg.vbsupport.ru/showthread.php?t=131002)

eurofunny 05-02-2007 01:24 PM

Okay thx for your quick answer.....When Guest post is there a way that the guest has a number below Guest

Dream 05-02-2007 01:36 PM

What text would you like to be posted every hour?

What do you mean by guest number?

If you mean a visitor number that's not possible, sorry. vBulletin doesn't keep a count of visitors.

eurofunny 05-02-2007 02:03 PM

Quote:

Originally Posted by Dream (Post 1239730)
What text would you like to be posted every hour?

What do you mean by guest number?

If you mean a visitor number that's not possible, sorry.

What text would you like to be posted every hour? mhmm Hello at My-CheckPoint.de or what ever :)

Dream 05-02-2007 02:06 PM

I will try to make the cron files you requested :)

Check this thread back later.

ge66 05-02-2007 02:36 PM

Thank you for this Chatbox!

How about a pop-up for vBcode and [IMG] or something else to help people to fill in the vBcodes?

Dream 05-02-2007 03:54 PM

Maybe, I would have to think this through.

Mark.B 05-02-2007 08:33 PM

I will happily release the cron file I made to prune the shoutbox, I just need to wait 48 hours so I know for certain it still works with the newest release. :D

It is very basic though and is hard coded to 48 hours....whilst that can be changed quite easily, it may be possible for someone to write an admin option into the hack to make this user-configurable.

Bit beyond my rather basic skills though that....all my cron is is a lift of some code from the original hack, placed into a php file. :D

Dream 05-03-2007 12:23 AM

No problem, I'll see how the other vB cron files work and make some for this mod, thanks Mark.

Dream 05-03-2007 02:30 AM

eurofunny, see if these work for you, the instructions are in cron.txt

eurofunny 05-03-2007 07:51 AM

Quote:

Originally Posted by Dream (Post 1240297)
eurofunny, see if these work for you, the instructions are in cron.txt


Many thx for this.

At the autopost-test comes this error
Code:

Chatbox Auto-Post

Fatal error: Call to a member function on a non-object in /home/www/checkpoint/includes/cron/chatbox_autopost.php on line 18


eurofunny 05-03-2007 08:08 AM

Now is it ok

Dream 05-03-2007 02:35 PM

Yes it is ok. You don't need the global line though.

DementedMindz 05-04-2007 10:04 PM

would be nice to see the smilies in a button rather then a image think it looks a little nicer but all in all great mod. also why when you shut off refresh from admincp since im using ajax version dont it remove the button since it wouldnt be needed with ajax?

Dream 05-04-2007 10:07 PM

If you disable refresh the user should have some way of refreshing it manually. (not sure I got your question)

arco 05-04-2007 10:37 PM

I guess he means that since it uses Ajax the refresh shouldn't be needed. That's how the shoutbox I used in Joomla worked. It did an automatic refresh by itself whenever a user sent a message. There was no need to press or wait for the refresh, since the message appeared instantly when the user pressed send.

DementedMindz 05-04-2007 10:40 PM

exactly what I mean there really should be no need for a refresh button at all with the ajax version.

Dream 05-04-2007 10:45 PM

Arco, there is no way to refresh a page exactly when the user posts a new message, I think your last shoutbox had a low refresh interval instead.

I can add a hide refresh button option in the next version.

DementedMindz 05-04-2007 10:46 PM

another feature would be to put the smilies on a button where the refresh would be instead of the smilie image.

Dream 05-04-2007 10:51 PM

A button written "smilies"? Same as the refresh button?

DementedMindz 05-04-2007 10:52 PM

well the refresh button removed on the ajax version... but yes a smilies button that will open the smilies instead having the image

Dream 05-04-2007 10:57 PM

Ok I'll think about that

Right now you can edit your chatbox.php, find

<input type="button" name="refresh" value="'.$text_refresh.'" onclick="getNewShouts()" class="smallfont"> '.$pagelinks.$smilieslink.'<br /></form></div>'."\n";

replace for

'.$pagelinks.' <input type="button" name="smilies" value="smilies" onclick="openSmilies()" class="smallfont"><br /></form></div>'."\n";

and remove these both lines

document.chatboxForm.elements['refresh'].disabled = true;

document.chatboxForm.elements['refresh'].disabled = false;

DementedMindz 05-04-2007 11:04 PM

nice thank you that works real well looks much nicer too along with that mouseover time

arco 05-05-2007 01:42 AM

Quote:

Originally Posted by Dream (Post 1241638)
Arco, there is no way to refresh a page exactly when the user posts a new message, I think your last shoutbox had a low refresh interval instead.

You're probably right. :) It had this cool fade effect on the text message when it appeared, making the impression it happened realtime. :)

seangworld 05-06-2007 07:19 AM

ok, i went thru 18 pages looking for the answer to my question. someone else had asked it on page 6, a reply was given on page 7, but it was incomplete.

the question, in my own words, was how do we remove the chatbox from below the 'who's online' section because we want it under the navbar?

i put my shoutbox under the navbar, and it's there, but now my forum has 2 frickin shoutboxes.

also, your instructions do not specify where to put the chatbox.php.

back to the chatbox on my forum, in both spots, it's showing the word 'array' just to the left of the box to input text.

Flow Fusion 05-06-2007 11:15 AM

Quote:

Originally Posted by seangworld (Post 1242329)
ok, i went thru 18 pages looking for the answer to my question. someone else had asked it on page 6, a reply was given on page 7, but it was incomplete.

the question, in my own words, was how do we remove the chatbox from below the 'who's online' section because we want it under the navbar?

i put my shoutbox under the navbar, and it's there, but now my forum has 2 frickin shoutboxes.

also, your instructions do not specify where to put the chatbox.php.

back to the chatbox on my forum, in both spots, it's showing the word 'array' just to the left of the box to input text.

1) You will have to delete the script in your forum template that has it under the who's online to make it only appear under the navbar.

2) The chatbox.php would have to be loaded into your index.

3) If 'array' is being shown then the chatbox hack was pasted into the middle of another script. That's not a good thing! Be careful to select the chatbox script and delete it, then put it after the 'array' script.

Dream 05-06-2007 05:27 PM

Thanks Flow Fusion.

seangworld, the chatbox.php goes in your main forum folder, I missed that in the install.txt and will be there in the next update.

To remove the bottom chatbox, remove the forumhome template edit in install.txt.

Not sure why array is showing for you (it isn't for other people), send me the url for your chatbox installation via PM for me to check it out if it's still happening.

viper357 05-06-2007 08:23 PM

I have read through the whole thread but I am still a bit confused with the 2 different versions.

Will the 1.4 version autorefresh and can I set the time delay on it? I have no idea what Ajax is all about :D

Dream 05-06-2007 08:32 PM

Yes the ajax version has the option to set a refresh interval too. Ajax just means the whole page doesn't refresh, the javascript talks to the server and updates (refresh) the messages.

viper357 05-06-2007 08:41 PM

ok, i have just installed the 1.4 but I am getting a 404 page not found error

http://www.marineaquariumsa.com/forums.php?#

Dream 05-06-2007 08:42 PM

Did you upload chatbox.php to your main forum folder? I forgot that in the instructions :/

viper357 05-06-2007 08:44 PM

do I not have to upload chatbox.php?

viper357 05-06-2007 08:45 PM

ah ha, ok, hang on :D

Dream 05-06-2007 08:45 PM

You have to upload it to your main forum folder (the same directory your forum.php is)

edit: ok cool :)

viper357 05-06-2007 08:46 PM

Perfect, thanks for the help, awesome mod, I have clicked Installed, thanks buddy :)

Dream 05-06-2007 08:47 PM

Cool glad you like it :)

da420 05-06-2007 09:03 PM

Quote:

Originally Posted by Dream (Post 1239207)
I wish people that rate my mods with 1 star would state a reason :/

For some reason there are people that just sit and wait for new mods to be released just to rate them with a 1 star. Seems to happen to every newly released mod these days. Don't ask me why, but it's childish at any rate.

Anyways, this mod looks fantasticm, thanks.. Haven't had a look at it. I have vBShout 2.1 and am seriously considering installing this one after work today, or sometime when I get around to it this week.

Xplorer4x4 05-07-2007 04:16 AM

Quote:

Originally Posted by instal.txt
-------Step Two

Upload chatbox_admin.php to your admincp folder.

Upload cpnav_chatbox.xml to your includes/xml folder.


-------Step Three

So we dont have to up chatbox.php? Might want to elaborate on that in the directions as to weather it is needed or not.

rnmcd 05-07-2007 04:54 AM

Quote:

Originally Posted by Dream (Post 1242664)
Yes the ajax version has the option to set a refresh interval too. Ajax just means the whole page doesn't refresh, the javascript talks to the server and updates (refresh) the messages.

So in version 1 of Chatbox, the entire page would refresh (not just the chatbox)?

thanks.

da420 05-07-2007 05:16 AM

Installed, Uninstalled, and tried to Reinstall and am getting the below error.

Code:

MySQL Error  : Table 'chatbox' already exists
I was able to reinstall it by deleting the 'chatbox' table via phpmyadmin. But, just thought I'd let you know.

Dream 05-07-2007 04:10 PM

Quote:

Originally Posted by Xplorer4x4 (Post 1242870)
So we dont have to up chatbox.php? Might want to elaborate on that in the directions as to weather it is needed or not.

You need to upload chatbox.php to your main forum folder, that's missing from the instructions and will be there in the next update. (I replied this a few posts before yours)

Quote:

Originally Posted by rnmcd (Post 1242883)
So in version 1 of Chatbox, the entire page would refresh (not just the chatbox)?

thanks.

Version 1.3 reloads the page, version 1.4 just adds the new messages without reloading the page.

Quote:

Originally Posted by da420 (Post 1242889)
Installed, Uninstalled, and tried to Reinstall and am getting the below error.

Code:

MySQL Error  : Table 'chatbox' already exists
I was able to reinstall it by deleting the 'chatbox' table via phpmyadmin. But, just thought I'd let you know.

The uninstall code is commented for some reason, it will be uncommented in the next update. You can see it commented out if you edit the Chatbox product. I think I was testing something and forgot to uncomment, sorry.


All times are GMT. The time now is 01:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01771 seconds
  • Memory Usage 1,821KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete