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

Reply
 
Thread Tools
Support Forum Helper Hack v1.1 Details »»
Support Forum Helper Hack v1.1
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-29-2002 Last Update: Never Installs: 58
 
No support by the author.

Download the latest version (v1.1)[ Here ]

As requested [ Here ] by z3comp...

Well here's my first hack for vb2.2.8 thought you'd never see me again right? (joking )

Instructions in the Installation.php file attached below... open in a text editor

What does this hack do?
// +++++++++++++++++++++
* Allows you to specify a help forum in which users can decipher which threads have been helped and vice-versa
* Allows for specifically Administrators, Smods, Moderators, and the user that created the thread to confirm that help has been given
* Customizeable Prefixes (vbulletin options)
* Option to close thread upon help being recieved!

What to do?
// +++++++++++++++++++++
Queries to Run (5) **
File Modification (6)
forumdisplay.php (2)
newthread.php (1)
postings.php (1)
showthread.php (2)
Template Edits (2)
Templates to Add (3)
** runs no extra queries

This hack has been tested on vbulletin 2.2.7 & 2.2.8
If you like this hack i would be greatful if you click [ Install ] and gave some feedback about difficulties and what not thanks in advance!

Screenshots Below...

g-force2k2

Show Your Support

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

Comments
  #52  
Old 12-29-2002, 03:36 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder how Tim could place images before the postinginfo, how did you do this Tim (or someone else)?

The images don't show up here in showthread either.
Reply With Quote
  #53  
Old 01-28-2003, 06:36 PM
attic attic is offline
 
Join Date: Mar 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Nuclion:

Had the same problem.

I just copied the helpbutton template directly in the showthread template. Now it does show up!

Regards,

Hp
Reply With Quote
  #54  
Old 04-25-2003, 08:54 PM
CSchulle CSchulle is offline
 
Join Date: Feb 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx a very fine hack.

Run fantastical on my 2.3.0g

Gru?
CS
Reply With Quote
  #55  
Old 05-03-2003, 12:16 AM
Sufian Sufian is offline
 
Join Date: Oct 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having some trouble getting those sql queries to work. I get a syntax error message for each:

Quote:
SQL-query : [Edit]

INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorder) VALUES (NULL,9,\'Help Forum\',\'HELPforum\',\'1\',\'The forumid of the forum that you want the Forum Help Option to avialable in. (to make available for multiple forums simply seperate each forumid with a comma!)\',\'\',\'15\')

MySQL said:

You have an error in your SQL syntax near '\'Help Forum\',\'HELPforum\',\'2\',\'The forumid of the forum that you want the ' at line 1
Quote:
SQL-query : [Edit]

INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorder) VALUES (NULL,9,\'User Question Answered\',\'HELPdone\',\'<i>[Answered]</i>&nbsp;\',\'The name of the prefix for thread where the user has been helped!\',\'\',\'16\')

MySQL said:

You have an error in your SQL syntax near '\'User Question Answered\',\'HELPdone\',\'<i>[Answered]</i>&nbsp;\',\'The name o' at line 1
Quote:
SQL-query : [Edit]

INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorder) VALUES (NULL,9,\'User Question Unanswered\',\'HELPundone\',\'<i>[Un-Answered]</i>&nbsp;\',\'The name of the prefix for the thread where the user is awaiting help!\',\'\',\'17\')

MySQL said:

You have an error in your SQL syntax near '\'User Question Unanswered\',\'HELPundone\',\'<i>[Un-Answered]</i>&nbsp;\',\'The' at line 1
Quote:
SQL-query : [Edit]

INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorder) VALUES (NULL,9,\'Help Thread Status\',\'HELPopen\',\'0\',\'Close that particular thread once help is provided?\',\'yesno\',\'18\')

MySQL said:

You have an error in your SQL syntax near '\'Help Thread Status\',\'HELPopen\',\'0\',\'Close that particular thread once he' at line 1
Quote:
SQL-query : [Edit]

ALTER TABLE thread ADD helpoption smallint(6) NOT NULL DEFAULT \'0\'

MySQL said:

You have an error in your SQL syntax near '\'0\'' at line 1
Any help would be appreciated. I'm new when it comes to mysql so I don't really know what to do.
Reply With Quote
  #56  
Old 05-26-2003, 07:05 PM
Hostc
Guest
 
Posts: n/a
Default

Can't find the code


Code:
<td width="100%"><smallfont color="#EEEEFF" class="thtcolor"><b>Thread</b></smallfont></td>
Or

Code:
<td width="100%"><smallfont color="#EEEEFF"><b>$timezone</b></smallfont></td>
Reply With Quote
  #57  
Old 05-26-2003, 10:48 PM
ap0c's Avatar
ap0c ap0c is offline
 
Join Date: Mar 2003
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 04:05 PM Hostc said this in Post #55
Can't find the code


Code:
<td width="100%"><smallfont color="#EEEEFF" class="thtcolor"><b>Thread</b></smallfont></td>
Or

Code:
<td width="100%"><smallfont color="#EEEEFF"><b>$timezone</b></smallfont></td>
search for $timezone and Thread</b> and it will turn up..


kind of glad people bumped this thread up,installed and working fine
Reply With Quote
  #58  
Old 05-27-2003, 12:01 PM
xs1 xs1 is offline
 
Join Date: Apr 2003
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorde r) VALUES (NULL,9,'Help Forum','HELPforum','1','The forumid of the forum that you want the Forum Help Option to avialable in. (to make available for multiple forums simply seperate each forumid with a comma!)','','15')
INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorde r) VALUES (NULL,9,'User Question Answered','HELPdone','<i>[Answered]</i>&nbsp;','The name of the prefix for thread where the user has been helped!','','16')
INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorde r) VALUES (NULL,9,'User Question Unanswered','HELPundone','<i>[Un-Answered]</i>&nbsp;','The name of the prefix for the thread where the user is awaiting help!','','17')
INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorde r) VALUES (NULL,9,'Help Thread Status','HELPopen','0','Close that particular thread once help is provided?','yesno','18')
ALTER TABLE thread ADD helpoption smallint(6) NOT NULL DEFAULT '0'

got this error when i queried the above

Error

SQL-query :

INSERT INTO setting( settingid, settinggroupid, title, varname, value, description, optioncode, displayorder )
VALUES (

NULL , 9, 'Help Forum', 'HELPforum', '1', 'The forumid of the forum that you want the Forum Help Option to avialable in. (to make available for multiple forums simply seperate each forumid with a comma!)', '', '15'
)
INSERT INTO setting( settingid, settinggroupid, title, varname, value, description, optioncode, displayorder )
VALUES (
NULL , 9, 'User Question Answered', 'HELPdone', '<i>[Answered]</i>&nbsp;', 'The name of the prefix for thread where the user has been helped!', '', '16'
)
INSERT INTO setting( settingid, settinggroupid, title, varname, value, description, optioncode, displayorder )
VALUES (
NULL , 9, 'User Question Unanswered', 'HELPundone', '<i>[Un-Answered]</i>&nbsp;', 'The name of the prefix for the thread where the user is awaiting help!', '', '17'
)
INSERT INTO setting( settingid, settinggroupid, title, varname, value, description, optioncode, displayorder )
VALUES (
NULL , 9, 'Help Thread Status', 'HELPopen', '0', 'Close that particular thread once help is provided?', 'yesno', '18'
)
ALTER TABLE thread ADD helpoption smallint( 6 ) NOT NULL DEFAULT '0'

MySQL said:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO setting( settingid, settinggroupid, title, varname
Reply With Quote
  #59  
Old 06-02-2003, 07:07 AM
xs1 xs1 is offline
 
Join Date: Apr 2003
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed somehow......but i dont find any options there
Reply With Quote
  #60  
Old 06-02-2003, 07:30 AM
WEForums WEForums is offline
 
Join Date: Apr 2003
Location: Jacksonville, Florida
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm... try creating it in your /admin/setting.php file. Run it in your browser and do the following steps:

Forum Display Options > click [add setting]
Title: Help Forum
Variable Name: HELPforum
Value 16
Description: The forumid of the forum that you want the Forum Help Option to avialable in. (to make available for multiple forums simply separate each forumid with a comma!)
Code to generate option:
Display Order: 15

----------------------------------------------------------------------

Forum Display Options > click [add setting]
Title: User Question Answered
Variable Name: HELPdone
Value: [Answered]
Description: The name of the prefix for thread where the user has been helped! (You may use HTML.)
Code to generate option:
Display Order: 16

---------------------------------------------------------------------

Forum Display Options > click [add setting]
Title: User Question Unanswered
Variable Name: HELPundone
Value: [Un-Answered]
Description: The name of the prefix for the thread where the user is awaiting help! (You may use HTML.)
Code to generate option:
Display Order: 17

-----------------------------------------------------------------------------

Forum Display Options > click [add setting]
Title: Help Thread Status
Variable Name: HELPopen
Value: 0
Description: Close that particular thread once help is provided?
Code to generate option: yesno
Display Order: 18

-----------------------------------------------------------

That should do it for you. They'll be in the vBulletin Options page.
Reply With Quote
  #61  
Old 06-02-2003, 10:57 AM
xs1 xs1 is offline
 
Join Date: Apr 2003
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wowowo really it worked now on the test forum....but a question if i need to intall on my orginal forum can i follow the same procudure or run mysql queries manually ?
Reply With Quote
Reply


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 05:20 AM.


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.05043 seconds
  • Memory Usage 2,321KB
  • 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
  • (4)bbcode_code
  • (6)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
  • (10)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