vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Chat Modifications - Dion Dev Shoutbox v2.0 (uses AJAX) (https://vborg.vbsupport.ru/showthread.php?t=210126)

goxy63 04-03-2009 12:51 AM

Everything is just fine...but I got one small problem

On my main page, I placed shoutbox under one of my modules...problem is that it is not collapsable module and colapse bar is under shoutbox not above as it should

TheLastSuperman 04-03-2009 01:17 AM

Quote:

Originally Posted by goxy63 (Post 1782795)
Everything is just fine...but I got one small problem

On my main page, I placed shoutbox under one of my modules...problem is that it is not collapsable module and colapse bar is under shoutbox not above as it should

PM me a copy of it Goxy, I'll glance @ it tomorrow... night all!

Chadi 04-03-2009 02:20 AM

Nice mod.

Just a quick suggestion:

It would be nice to have the files uploaded to /forum/shoutbox for example instead of adding the 10 files in the root folder, causing a bit of a clutter.

Also, I noticed you're using frames. Probably a bad idea.

Just an idea.

goxy63 04-03-2009 05:08 AM

1 Attachment(s)
@TheLastSuperman
Thanks, will senad you asap...will post it here also

Copy of module (CMPS)
Code:

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <moduleinfo>
- <module>
  <title>Shoutbox</title>
  <identifier />
  <filename>shoutbox</filename>
  <inctype>template</inctype>
  <templatelist />
  <parent />
  <colspan>0</colspan>
  <formcode />
  <useshell>1</useshell>
  <link />
  <options>0</options>
  </module>
- <templates>
- <adv_portal_shoutbox>
- <![CDATA[
<iframe src="testvb/shoutbox.php" width="500" height="200" scrolling="auto" frameborder="0">
Browser does not support iframes
</iframe>
<br /><br />

  ]]>
  </adv_portal_shoutbox>
  </templates>
  </moduleinfo>

Attachment 97246

macc 04-03-2009 06:35 AM

nice mod nd shoutbox ...but can we get more vbulletin look? mean borders and colapse button ?


regards

macc

CFodder 04-03-2009 08:58 AM

Quote:

Originally Posted by goxy63 (Post 1782795)
Everything is just fine...but I got one small problem

On my main page, I placed shoutbox under one of my modules...problem is that it is not collapsable module and colapse bar is under shoutbox not above as it should

Have to put a <tr> and <td> command before Dion's code and then a </td> then </tr> after it, that should do it :). Your code/template should look like this:

Quote:


<tr>
<td>

<!-- Dion Dev Shoutbox v2.0 -->
<iframe src="shoutbox.php" width="100%" height="200" scrolling="auto" frameborder="0">
Browser does not support iframes
</iframe>
<br /><br />
<!-- end Dion Dev Shoutbox v2.0 -->

</td>
</tr>
Dion, I've installed it all ok and put it under my forumhome however no shouts appear when typed in :confused: ... however if I go to the archive it show's the shouts there :). Get no error messages, any ideas on what could be causing this, am using 3.8.1 PL1

DionDev 04-03-2009 01:04 PM

Quote:

Originally Posted by goxy63 (Post 1782662)
Nominated, rated....thinking about install, but..

How about main page under VBA cmps ?!

Just downloaded and would like this mod on my main page under one of my modules

Any suggestions ?!

Place the template.txt code in any template you want.

Quote:

Originally Posted by TheLastSuperman (Post 1782680)
Hey goxy :D

Did you check his Readme/Install file??

It was in there ;)



So basically open up template.txt included in the download and copy the entire code...

PHP Code:

<!-- Dion Dev Shoutbox v2.0 -->
<
iframe src="shoutbox.php" width="100%" height="200" scrolling="auto" frameborder="0">
Browser does not support iframes
</iframe>
<
br /><br />
<!-- 
end Dion Dev Shoutbox v2.0 --> 

Now paste it in any template i.e.
  • Forum Home for main forum
  • Forum Display for Subforums etc
  • Navbar if you find a good spot
  • Header
  • Footer
  • etc
  • etc

Also note you can change some of the variables i.e. height width etc as seen in the code!

--> width="100%" OR just 900 for px

--> height="200" Same as above but you can increase to 300px by changing to 300 etc etc.

--> frameborder="0" To add a border etc so put in 1 or 2 etc etc.

Enjoy and thanks DionDev for the new Shoutbox for vB owners :D

S-MAN

Great tutorial!

Quote:

Originally Posted by Chadi (Post 1782840)
Nice mod.

Just a quick suggestion:

It would be nice to have the files uploaded to /forum/shoutbox for example instead of adding the 10 files in the root folder, causing a bit of a clutter.

Also, I noticed you're using frames. Probably a bad idea.

Just an idea.

All of the shoutbox files start with "shout*" so its easy to distinguish.

Why are frames a bad idea? The only thing I can think of is in regards to SEO, and the "iframes are bad for SEO" school of thought is 100% incorrect. Iframes get indexed fine, they are simply considered their own pages.

Quote:

Originally Posted by macc (Post 1782920)
nice mod nd shoutbox ...but can we get more vbulletin look? mean borders and colapse button ?


regards

macc

I will add a collapse button and the forum table header style to the next version.

Quote:

Originally Posted by CFodder (Post 1782952)
Have to put a <tr> and <td> command before Dion's code and then a </td> then </tr> after it, that should do it :). Your code/template should look like this:



Dion, I've installed it all ok and put it under my forumhome however no shouts appear when typed in :confused: ... however if I go to the archive it show's the shouts there :). Get no error messages, any ideas on what could be causing this, am using 3.8.1 PL1

Show me the link please. You may have done something wrong.

Chadi 04-03-2009 01:20 PM

Quote:

Originally Posted by DionDev (Post 1783031)
Why are frames a bad idea? The only thing I can think of is in regards to SEO, and the "iframes are bad for SEO" school of thought is 100% incorrect. Iframes get indexed fine, they are simply considered their own pages.


A lot of people have frames disabled in their browsers. That's why.

goxy63 04-03-2009 01:52 PM

@CFodder
:o
Works like charm, thanks :up:

Thank you all guys

Regards
Goran

Hall of Famer 04-03-2009 02:11 PM

How can I place this shoutbox at the bottom of each page?


All times are GMT. The time now is 02:20 PM.

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.01258 seconds
  • Memory Usage 1,755KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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