vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   show tip hack version:1.0 (https://vborg.vbsupport.ru/showthread.php?t=35190)

xware 02-17-2002 10:00 PM

# version:1.0
# Date: 02.18.02
# Description: This hack allows you to add a tip to forumdisplay page, like a newsfader. Admin can edit the usergroups to set which usergroup can post new thread as a tip.
# admin or moderarors can edit thread to set or cancel a tip's show.
#Backup your database and files before install this hack

xware 02-18-2002 10:35 AM

Here's the demo in admin cp.

xware 02-18-2002 10:36 AM

here's a demo in post newthread:

xware 02-18-2002 10:37 AM

here's a demo in tip show:

xware 02-18-2002 10:38 AM

Here's a demo for admin or mods edit thread:

maverick1236 02-18-2002 12:31 PM

thanks for a great hack

its only showing the TITLE of the tip post in the fader

any way to scroll the whole post?

Dade 02-18-2002 04:38 PM

Nice hack.

Kumaro 02-19-2002 12:44 AM

excellent hack. its great for forums that include support

Kumaro 02-19-2002 01:31 AM

after installation, I tried to edit the Administrator user group and then got this error:

Database error in vBulletin Control Panel 2.2.1:

Invalid SQL: UPDATE usergroup SET title='Administrators',usertitle='Administrator',s tarlevel='5',starimg='bb',cancontrolpanel=1,canmod ifyprofile=1,canviewmembers=1,canview=1,cansearch= 1,canemail=1,canpostnew=1,canmove=1,canopenclose=1 ,candeletethread=1,canreplyown=1,canreplyothers=1, canviewothers=1,caneditpost=1,candeletepost=1,canu sepm=1,canpostpoll=1,canvote=1,canpostattachment=1 ,canposttip=1,ismoderator=1,canpublicedit=1,canpub licevent=1,canthreadrate=1,cantrackpm=1,candenypmr eceipts=1,maxbuddypm=5,maxforwardpm=5,canwhosonlin e=1,canwhosonlineip=1 WHERE usergroupid=6
mysql error: Unknown column 'canposttip' in 'field list'

mysql error number: 1054

Date: Monday 18th of February 2002 10:25:02 PM
Script: http://forums.411hype.com/admin/usergroup.php
Referer: http://forums.411hype.com/admin/user...&usergroupid=6

Kumaro 02-19-2002 01:43 AM

actually, there are many many errors when I install this....not a good hack if it is only compatible with unhacked boards.

sleepbirdcyp 02-19-2002 01:45 AM

but it's working on Vb2.01 VB2.22

xware 02-19-2002 01:51 AM

Quote:

Originally posted by Kumaro
actually, there are many many errors when I install this....not a good hack if it is only compatible with unhacked boards.
please note:
Run the following queries (for info on how to run queries go here: http://www.vbulletin.com/forum/showt...threadid=18558)

ALTER TABLE usergroup ADD canposttip SMALLINT (5) not null;
UPDATE usergroup SET canposttip=1 WHERE usergroupid=5 OR usergroupid=6 OR usergroupid=7;
ALTER TABLE thread ADD showtip CHAR (3) not null;

If you haven't ALTER TABLE usergroup before you run the following queries then be a error. :greedy:

This hack is compatible with all unhacked or hacked boards

MiF 04-16-2002 09:33 PM

Does anyone else have a problem downloading this attachment? Seems the RAR file is corrupted when I download it.

Edit: I was able to extract it. don't know what the problem was initially.


All times are GMT. The time now is 04:27 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.03139 seconds
  • Memory Usage 1,732KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete