vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Shoutbox Hack 1.04b (https://vborg.vbsupport.ru/showthread.php?t=68861)

blackpheonix 12-01-2004 03:20 PM

FORUMHOME template weres templates just installed an im total noob to this im using vb3

Jason McConnell 12-01-2004 03:27 PM

hey guys, I've used this Shoutbox on a number of other sites, and wanted to use it on my own, but I'm getting a couple of Parse Errors. I did read most of the thread here, but I didn't see anything that related to the errors I'm getting.

Parse Error #1:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/unifiedx/public_html/forum/index.php on line 57
Code:

require_once('./global.php');
I don't see anything wrong with that line, after comparing it to the original file.

Parse Error #2
Parse error: parse error, unexpected T_ELSE in /home/unifiedx/public_html/forum/admincp/usergroup.php on line 141

This was the file edit:
Code:

// set default yes permissions (bitfields)
                        $ug_bitfield = array(
                                'showgroup' => 1,
                                'canview' => 1,
                                'canviewmembers' => 1,
                                'canviewothers' => 1,
                                'cagetattachment' => 1,
                                'cansearch' => 1,
                                'canmodifyprofile' => 1,
                                'canthreadrate' => 1,
                                'canpostattachment' => 1,
                                'canpostpoll' => 1,
                                'canvote' => 1,
                                'canwhosonline' => 1,
                                'allowhidden' => 1,
                                'showeditedby' => 1,
                                'canseeprofilepic' => 1,
                                'canusesignature' => 1,
                                'cannegativerep' => 1,
                                'canuserep' => 1,
                                'shoutpost' => 1,
                                'shoutedit' => 1,
                                'shoutdelete' => 1,
                                'shouthdelete' => 0,
                                'shouteditothers' => 0,
                                'shoutdeleteothers' => 0,
                                'shouthdeleteothers' => 0,
                                'shoutip' => 0,
                                'shoutcoventry' => 0,
                        );
                        // set default numeric permissions
                        $usergroup = array(
                                'pmquota' => 0, 'pmsendmax' => 5, 'attachlimit' => 1000000,
                                'avatarmaxwidth' => 50, 'avatarmaxheight' => 50, 'avatarmaxsize' => 20000,
                                'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000,
                                'shouthierarchy' => 5, 'shoutmaxdaily' =>0
                        );

But this is what appears:

139 print_table_header($vbphrase['add_new_usergroup']);
140 {
141 else
142 $usergroupid = intval($_REQUEST['usergroupid']);

Same deal here with first error, after comparing it with the original file, those lines appear exactly as they should be. And no, I didn't use Dreamweaver for the file edits, I used UEdit. Gonna go back and try again with Notepad :ermm:

----------------------------------
*EDIT* I got the Usergroup.php problem taken care of, but still having the Parse Error in Index.php on line 57

Got the Index.php problem taken care, WITH Dreamweaver. I need a beer :o :D

TruckMuddr 12-01-2004 08:01 PM

I love the shoutbox, but I got one thing I'd like added, if possible.

I'd like it if there is a way to have it auto-prun after x amount of days.

The Avatar 12-02-2004 12:10 AM

Great hack dudes!!

I loved your ushop & ucash hack, and I also love this one.

Once my board is up and running fully (and I start making some money), I will donate some cash your ways :D

Vman 12-05-2004 05:34 AM

Maybe I missed it, BUT is there a way to PRUNE the shouts?????

My hand is tired of hiting the "Delete" button on 10 plus pages!!!

If there is not, could you make a option for this????

Thanks

sirstone 12-05-2004 02:59 PM

Hi,

how can i display the last 3 shouts in the forum home? I´ve installed the hack, and the shoutbox.php works fine, but there is nothing in the forumshome?

Jason McConnell 12-06-2004 11:58 AM

Quote:

Originally Posted by sirstone
Hi,

how can i display the last 3 shouts in the forum home? I?ve installed the hack, and the shoutbox.php works fine, but there is nothing in the forumshome?

You have to add the last file edit to the Forumhome template. At least I'm assuming so, your homepage link takes me right back to vb.org :ermm:


@ GeekyDesign guys...

Awesome hack :) It definitely helps keeps the posts in my forums on track, and all the non-consequential stuff stays neatly where it should :) Congratulations :D

If I may offer a suggestion for a future version though.. to have the shoutbox accessabile thru a popup shoutbox like on deviantArt.com.

PennylessZ28 12-09-2004 06:22 AM

I'm uninstalling this hack, 2 weeks and no support? Is anyone getting any support? Doesn't seem like it.

noppid 12-10-2004 07:36 PM

We tried and and did not like the templates at all. The smiles mess up the layout and the java to TX the smile code the the input box don't work.

Impulse 12-15-2004 01:47 PM

Is there anyway to auto prune the 'older' shouts?


All times are GMT. The time now is 02:15 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.01661 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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