Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
vBSupport v2.0.0 Beta 2 Details »»
vBSupport v2.0.0 Beta 2
Version: 2.0.0 B2, by CMX_CMGSCCC CMX_CMGSCCC is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 08-09-2005 Last Update: 06-10-2007 Installs: 276
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

vbSupport v2.0.0 BETA 2 by CMX (http://www.cmgsccc.com)
Official Homepage - http://www.vbplaza.com


v1.1 of this modification was found to contain an SQL injection. If you run v1.1 of this modification, you are hereby advised to update to v1.1a of this modification. To update from v1.1 to v1.1a, grab the v1.1a ZIP and overwrite the vBSupport.php file on your server with the new version.

Note that while no other vulnerabilities were noticed by vBorg Staff, this does not mean that such things do not exist. vBorg Staff fixed the one SQL injection according to these rules. Any other fixes that may be needed now or in the future are left to the original author.

-- vBorg Staff



Welcome to the latest hack by CMX for your vBulletin Message Board. This is a fully featured Ticket based support system for you website. If you had installed the older version of vBSupport v1.1, then you already have an idea what this sytem is all about.

Basically, this system will allow your Forum Members to create new support tickets using the same login as your vBulletin forums login for your users. There have been many improvements from the older v1.1 vBSupport System I made a while back.

New Features for v2.0.0+:
1) Permission Checks are better implemented and are more useful now.
2) AJAX Open/Closing tickets by double clicking the thread icon when listing tickets.
3) AJAX Ticket Title editing just like the forums Thread editing as well.
4) Post Quick Reply is now using the AJAX system where possible to post replies to tickets.
5) You can now Edit posts inline using the AJAX system as well.
6) Inline Moderation when listing tickets includes Delete Ticket, Open Ticket, Close Ticket.
7) You can now delete individual Posts from Tickets via the Inline Moderation as well.
8) MASSIVE performance load improvements. On my forums with 200,000 members, it would take 4 seconds to view a ticket due to a very strenuous query. Now it loads tickets in 0.13 seconds.
9) Category Administration has now been moved into the Admin CP instead of on the vbSupport page itself.
10) Everything should be fully phrased now as well.

Other Features:
1) IF you have installed the older vBSupport version, it will auto uninstall it for you. (It will NOT delete the old tickets!)
2) Admin CP -> vbSupport Maintenance -> Import Old Tickets is now in and working to import the old tickets if you had vBSupport installed.
3) A ton of permissions per Usergroup to set the settings up the way you want them.

vbSupport v2.0.0 BETA 2 Updates:
1) Bugfix: Quick Reply functions properly when you have the Quick Reply option enabled for Yes - Click Required.
2) Bugfix: Normal Reply/Closed button is there when viewing a ticket.
3) Bugfix: Admin CP Deleting a ticket now functions properly.
4) Bugfix: AJAX Edit feature does not display an alert(postid) anymore.
5) Bugfix: Active On/Off works for each category when enabled/disabled from the Admin CP.
6) Bugfix: Usergroup Permissions are now working for Allowed Usergroups & Denied Usergroups.
7) Bugfix: Changed some templates that linked to the wrong PHP files.
8) Bugfix: New Thread template is cleaned up a bit and it displays properly in Firefox too now.
9) Bugfix: Active phrase now is installed as a vbSupport phrase.


PLEASE NOTE: This is the very first release of vbSupport 2.0.0. Which means that this is a BETA release. I will try to correct any issues found ASAP.

I have vbSupport v2.0.0 BETA 1 running on my production site at www.cmgsccc.com, so I should be able to find most bugs since there are over 200,000 registers members there and it will get put to the test quite a bit. However, if you find something, please post it here.

By installing this BETA version, it will uninstall the previous vBSupport system automatically. It will leave the old ticket tables upon installation. It should import the older Ticket Categories that you had before as well.

I would also like to recommend that you backup your MySQL database, just in case a mishap occurs as this is BETA.

ALSO: The older version vBSupport v1.1 will be here for download until v2.0.0 comes out of BETA. vBSupport v1.1 is NOT in the BETA stage, only vbSupport v2.0.0 is in the BETA stage.

Upgrading Instructions From vBSupport v1.x
NOTE: These are ONLY applicable if you are upgrading from vBSupport v1.x!

1) Delete all of the older vBSupport files from your server. If you are not sure which files they are, the vBSupport v1.1 is still available for download here so you can download that and look at the files in there.

2) Upload all of the files in the upload folder to your forums ROOT folder. Make sure that if it asks about any files, that you set Overwrite to overwrite all files as well.

3) In your Admin CP, goto Plugin System -> Manage Products -> Add/Import Products at the bottom -> Select the XML file that you have downloaded in the package named product-vbsupport.xml -> Set Allow Overwrite to YES -> Import.

4) Perform the template edits below and you have vbSupport v2.0.0 up and running!

5) Refresh your forums Admin CP page.

6) Admin CP -> vbSupport Maintenance -> Import Old Tickets if you want to save the older tickets. Otherwise you can skip this feature.


New Installation Instructions:

1) Upload all of the files in the upload folder to your forums ROOT folder. Make sure that if it asks about any files, that you set Overwrite to overwrite all files as well.

2) In your Admin CP, goto Plugin System -> Manage Products -> Add/Import Products at the bottom -> Select the XML file that you have downloaded in the package named product-vbsupport.xml -> Set Allow Overwrite to YES -> Import.

3) Perform the template edits below and you have vbSupport v2.0.0 up and running!


Template Edits:

A) Template 'navbar':

Find:
Code:
		<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Add Below:
Code:
<!-- vbSupport start -->
			<if condition="$vboptions['vbsupport_enabled']"><td class="vbmenu_control"><a href="vbsupport.php$session[sessionurl_q">$vbphrase[vbsupport_title]</a></td></if>
<!-- vbSupport end -->
B) Template 'postbit_legacy':

Find:
[code]
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
[code]

Add Above:
Code:
<!-- vbSupport start -->
			<if condition="$show['ticketcount']">#<a href="vbsupport.php?$session[sessionurl]do=viewpost&amp;pid=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<!-- vbSupport end -->
C) Template 'postbit':

Find:
Code:
			<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
Add Above
Code:
<!-- vbSupport start -->
			<if condition="$show['ticketcount']">#<a href="vbsupport.php?$session[sessionurl]do=viewpost&amp;pid=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>
<!-- vbSupport end -->
ENJOY!!

-CMX

Supporters / CoAuthors

Show Your Support

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

Comments
  #212  
Old 12-13-2005, 05:14 PM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this when attemping to hit the VBsupport.php file:
Code:
Database error in vBulletin 3.5.2:

Invalid SQL:

		SELECT ticket.*, user.username AS assignedtechusername
		, icon.title AS icontitle, icon.iconpath
		FROM vb3_ticket AS ticket
		LEFT JOIN vb3_user AS user ON (user.userid = ticket.assignedtechid)
		LEFT JOIN vb3_icon AS icon ON(icon.iconid = ticket.iconid)
		WHERE ticket.postuserid = 1 AND open = 1
		ORDER BY ticket.replydateline DESC
		LIMIT 0, 20;

MySQL Error  : Unknown column 'ticket.assignedtechid' in 'on clause'
Error Number : 1054
Date         : Tuesday, December 13th 2005 @ 11:13:42 AM
Script       : http://www.theflyfishingforum.com/forums/vBSupport.php
Referrer     : http://www.theflyfishingforum.com/
IP Address   : 70.162.7.101
Username     : fshfanatic
Classname    : vb_database
Reply With Quote
  #213  
Old 12-18-2005, 03:34 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesnt work with 3.5.2 doesnt add the user group permissions, section for them all,

please tell us how to add it manual.

thank you.
Reply With Quote
  #214  
Old 12-18-2005, 05:54 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hopefully this will get updated to work with 3.5.2
Reply With Quote
  #215  
Old 12-18-2005, 09:09 PM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Neofreaks
This will get it to work for 3.5.1:

Replace the contents of includes\xml\bitfield_support.xml with the following:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<bitfields product="vBSupport">
	<bitfielddefs>
		<group name="ugp">
			<group name="supportpermissions">
				<bitfield name="canadminsupport" group="support_admin_permissions" phrase="support_can_admin_support_tickets" install="2,3,4,5,6,7">1</bitfield>
				<bitfield name="cancreatetickets" group="support_admin_permissions" phrase="support_can_create_tickets" install="2,3,4,5,6,7">2</bitfield>
				<bitfield name="canreplytoowntickets" group="support_admin_permissions" phrase="support_can_reply_to_own_tickets" install="2,3,4,5,6,7">4</bitfield>
				<bitfield name="canreplytoalltickets" group="support_admin_permissions" phrase="support_can_reply_to_all_tickets" install="2,3,4,5,6,7">8</bitfield>
				<bitfield name="candeleteowntickets" group="support_admin_permissions" phrase="support_can_delete_own_tickets" install="2,3,4,5,6,7">16</bitfield>
				<bitfield name="candeleteanyticket" group="support_admin_permissions" phrase="support_can_delete_any_ticket" install="2,3,4,5,6,7">32</bitfield>
				<bitfield name="cancloseowntickets" group="support_admin_permissions" phrase="support_can_close_own_tickets" install="2,3,4,5,6,7">64</bitfield>
				<bitfield name="cancloseanyticket" group="support_admin_permissions" phrase="support_can_close_any_ticket" install="2,3,4,5,6,7">128</bitfield>
				<bitfield name="canopenowntickets" group="support_admin_permissions" phrase="support_can_open_own_tickets" install="2,3,4,5,6,7">256</bitfield>
				<bitfield name="canopenanyticket" group="support_admin_permissions" phrase="support_can_open_any_ticket" install="2,3,4,5,6,7">512</bitfield>
				<bitfield name="canassigntickets" group="support_admin_permissions" phrase="support_can_assign_tickets" install="2,3,4,5,6,7">1024</bitfield>
				<bitfield name="canreassigntickets" group="support_admin_permissions" phrase="support_can_reassign_tickets" install="2,3,4,5,6,7">2048</bitfield>
				<bitfield name="canpostattachments" group="support_admin_permissions" phrase="support_can_post_attachments" install="2,3,4,5,6,7">4096</bitfield>
				<bitfield name="canviewattachments" group="support_admin_permissions" phrase="support_can_view_attachments" install="2,3,4,5,6,7">8192</bitfield>
				<bitfield name="canmanagecategories" group="support_admin_permissions" phrase="support_can_manage_categories" install="2,3,4,5,6,7">16384</bitfield>
				<bitfield name="canupdatecategorytype" group="support_admin_permissions" phrase="support_can_update_categorytype" install="2,3,4,5,6,7">32768</bitfield>
			</group>
		</group>
	</bitfielddefs>
</bitfields>
<!-- CVS: $RCSfile: bitfield_support.xml,v $ - $Revision: 1.0 $ -->
Couldn't find usergroup permissions for 3.5.2 until I reread the posts here, did the above edit and it adds the usergroup permissions section into 3.5.2.

Now to see if everything else works!!
Reply With Quote
  #216  
Old 12-18-2005, 09:15 PM
FD929's Avatar
FD929 FD929 is offline
 
Join Date: Feb 2005
Location: California
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Believe it or not, the only error is in includes/xml/bitfield_support.xml
<bitfields product="vBulletin"> should not be capitalized.
It should be <bitfields product="vbulletin">

This will add the options to usergroup permissions as it is intended to rather than adding another cp module.

P.S. You may need to rebuild bitfields. /admincp/index.php?do=buildbitfields
Reply With Quote
  #217  
Old 12-20-2005, 12:02 PM
fusiongoddess fusiongoddess is offline
 
Join Date: Jan 2003
Location: Ontario
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The category names are all showing up as the number one for me. How can I fix this?

Thanks!
Reply With Quote
  #218  
Old 12-20-2005, 09:38 PM
Player-63's Avatar
Player-63 Player-63 is offline
 
Join Date: Mar 2005
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lsmba
I followed the install to the letter...all went find, "except" I cannot see the "permissions" area and I am getting this as I try to add categories "You are not authorized to manage ticket categories."
I also get this message and i have changed the bitfield_support file
Reply With Quote
  #219  
Old 12-20-2005, 10:45 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Player-63
I also get this message and i have changed the bitfield_support file
Is the bitfield_support file a valid product or plugin? I get "Invalid File Specified" when I try to install it.
Reply With Quote
  #220  
Old 12-21-2005, 09:38 AM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

i have test under 3.52 german and it's wonderfull...but a small bugs/questions.

Questions/bugs...
1. How can all User (specificate in userperm that allow) list and search all tickets? (open/closed)
2. How can i implement that a email/pm is send to the staff which have assign to a ticket?
3. Seems a small bug, when admin open ticket the categorie and save it - cat is lost... where can i change it? In the dropdown are the default value not the selected cat...
4. Is there a plan to make a directory to select first the cat for ticket and then add a ticket... all tickets are listen for this cat and the new ticket assign automaticly the cat and a little bit better, when i set a default user - also assign the user...

Yes of course I will use it and also donate...when is done...
Thomas
Reply With Quote
  #221  
Old 12-21-2005, 11:41 AM
Player-63's Avatar
Player-63 Player-63 is offline
 
Join Date: Mar 2005
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by silurius
Is the bitfield_support file a valid product or plugin? I get "Invalid File Specified" when I try to install it.
just edited the file in incudes/xml folder and reinstalled plugin and still nothink dont know if i done it right.
Reply With Quote
Reply

Thread Tools

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:27 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.05629 seconds
  • Memory Usage 2,333KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_code
  • (4)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
  • (2)pagenav_pagelinkrel
  • (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