Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Shoutbox Hack - 1.0 Gamma 1 (Outdated -> RC1 in Full Releases) Details »»
Shoutbox Hack - 1.0 Gamma 1 (Outdated -> RC1 in Full Releases)
Version: 1.00, by Link14716 Link14716 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-02-2004 Last Update: Never Installs: 12
Supported
Is in Beta Stage  

Release Candidate 1 is now released! It is posted in a new thread (here --->): https://vborg.vbsupport.ru/showthread.php?p=459717

Can a mod or admin close this thread?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-04-2004, 04:00 PM
TheSonic TheSonic is offline
 
Join Date: Aug 2002
Location: Stuttgart
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack ! Thanks!

Quote:
Originally Posted by Link14716
It's a simple template edit to the FORUMHOME template. I don't have the HTML right now, but it's not that hard, just a simple form and textarea.
Can someone post a modified FORUMHOME-Template, so users can add shouts directly from the Forum's Mainpage?

Thanks.
  #33  
Old 01-04-2004, 04:05 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I found that error a while ago, it's fixed for Beta 6.

I'll make a quick edit to the FORUMHOME template and post it here.
  #34  
Old 01-04-2004, 04:20 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, this will make a small textarea under the shouts. In FORUMHOME, find this:
HTML Code:
$latestshouts
and add this after it:
HTML Code:
 <center><form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><textarea name="message" rows="5" cols="60" class="bginput" wrap></textarea><br><input type="submit" name="submit" value="Shout Now!" class="bginput" accesskey="s"></form>
Or for a small input box under the last shouts, add this:
HTML Code:
<form action="shoutbox.php" method="post"><input type="hidden" name="do" value="addshout"><input type="text" name="message" value="" size="60"><input type="submit" name="submit" value="Shout Now!" class="bginput" accesskey="s"></form>
  #35  
Old 01-04-2004, 04:31 PM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect, thank you Link14716
  #36  
Old 01-04-2004, 05:05 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, in Beta 6, there is a toggable setting - you can select an input box, a textarea, or neither to show up on FORUMHOME.
  #37  
Old 01-04-2004, 05:27 PM
TheSonic TheSonic is offline
 
Join Date: Aug 2002
Location: Stuttgart
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Link, you are the man !
Thanks for this great hack and the html-code
  #38  
Old 01-04-2004, 05:37 PM
TheSonic TheSonic is offline
 
Join Date: Aug 2002
Location: Stuttgart
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AH, one thing... Is there a way that the user will not be forwarded to the shoutbox.php-Mainpage, then he ads a shout. I just want the shout added and the user should stay on forumhome.
  #39  
Old 01-04-2004, 05:43 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

An option will be in the next release.

For now, though, find this:
PHP Code:
// ########################### START ADD SHOUT ############################ 
Now search under it for this:
PHP Code:
    $do "main"
Change that to this:
PHP Code:
header("Location: index.php");
exit; 
And that should work.
  #40  
Old 01-04-2004, 05:53 PM
TheSonic TheSonic is offline
 
Join Date: Aug 2002
Location: Stuttgart
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, works (after using a ; instead of : after ..php.)

For the next version, it would be cool if the script could check, if the user is on the forumhome or in shoutbox.php and stay after adding a new shout at the user's current location.
  #41  
Old 01-04-2004, 05:57 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheSonic
Yes, works (after using a ; instead of : after ..php.)

For the next version, it would be cool if the script could check, if the user is on the forumhome or in shoutbox.php and stay after adding a new shout at the user's current location.
Damned shift key! Yeah, that's a better idea. Let me implement it now...
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05423 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_html
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete