vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBSupport v2.0.0 Beta 2 (https://vborg.vbsupport.ru/showthread.php?t=94023)

Takamine334 01-15-2007 06:56 PM

When users try to submit a ticket, they get this:

You did not specify a Category for your Thread. You are required to enter a Category.

I have created categories, but I don't see where the user is supposed to select one prior to submitting a ticket.

sinisterpain 01-15-2007 09:00 PM

Quote:

Originally Posted by Takamine334 (Post 1160076)
When users try to submit a ticket, they get this:

You did not specify a Category for your Thread. You are required to enter a Category.

I have created categories, but I don't see where the user is supposed to select one prior to submitting a ticket.

Are you running Vb3.6.4, if so try the edits I have given a few threads back. https://vborg.vbsupport.ru/showpost....&postcount=476

amykhar 01-16-2007 01:08 PM

Here is a fix that allows unregistered users to SEE the ticket system.

In vbsupport.php Find:

Code:

if ($vbulletin->options['vbsupport_unregistered_access'] > 0)
Replace with:

Code:

if ($vbulletin->options['vbsupport_unregistered_access']==0)
and guests can view. I'm working now on getting guests to be able to actually submit a ticket.

TotalTorque.net 01-17-2007 09:38 PM

Ok, I've installed v2 but have problems.

Whenever I try to go to vbSupport in the navbar it says I am not authorized to create tickets.

That is despite being logged in as a Mod or Admin.

So, I set it to a public system.

It then allowed me to create a ticket, but when I went to submit it, it said I did not have sufficient permissions. Yet, it showed 1 open ticket...but wouldn't display it!

So, as a Mod/Admin I can do nothing, but as a standard user I can...but only get so far!

Very odd indeed? Help!

sinisterpain 01-17-2007 10:32 PM

Quote:

Originally Posted by TotalTorque.net (Post 1161707)
Ok, I've installed v2 but have problems.

Whenever I try to go to vbSupport in the navbar it says I am not authorized to create tickets.

That is despite being logged in as a Mod or Admin.

So, I set it to a public system.

It then allowed me to create a ticket, but when I went to submit it, it said I did not have sufficient permissions. Yet, it showed 1 open ticket...but wouldn't display it!

So, as a Mod/Admin I can do nothing, but as a standard user I can...but only get so far!

Very odd indeed? Help!

The author's navbar edit has an error
try this instead:
Code:

<if condition="$vboptions['vbsupport_enabled']"><td class="vbmenu_control"><a href="vbsupport.php$session[sessionurl_q]">$vbphrase[vbsupport_title]</a></td></if>

tank14 01-21-2007 02:26 AM

OK so is any one getting a completely corrupt view when you are in postbit legacy?

Bahawolf2 01-22-2007 05:49 AM

Obtained this error when I went to: AdminCP -> vbSupport -> Manage Categories -> Clicked on its Category name 'Forums Problem' (default category)
Note: it shows this error message twice though it shows all the categories settings...
Warning: Invalid argument supplied for foreach() in /admincp/vbsupport.php on line 40

vbsupport.php line 40 = foreach($vbulletin->vbs_admin AS $userid => $user)

After clicking new thread (to send a new ticket) I filled out all the ticket info and hit send... it loads a screen for about 5 seconds saying
Warning: Invalid argument supplied for foreach() in /vbsupport.php on line 391
Then proceeds to a permissions page saying I don't have permission to access it....

vbsupport.php line 391 = foreach($vbulletin->vbs_admin AS $userid => $user)

Any Clue?
Other info----
Running VB 3.6.4 (recently upgraded from 3.5.3)
Tryed running: vbsupport_v2.0.0_Beta_2
I also tryed the install tips from this website:
https://vborg.vbsupport.ru/showpost....&postcount=476

Thanks in advance for any help.

sinisterpain 01-22-2007 08:19 PM

You did not do the other edit below that post which is edit for vbsupport.php in the admincp folder. See post https://vborg.vbsupport.ru/showpost....&postcount=478.
Also in the main vbsupport.php (one not in admincp folder)I forgot another edit I think

Find :
Code:

// unserialize the datastore
$vbulletin->vbs_category = unserialize($vbulletin->vbs_category);
$vbulletin->vbs_admin = unserialize($vbulletin->vbs_admin);

// check if the user is an admin
$show['useradmin'] = false;
if (vbsupport_can_moderate('canadminsupport'))
{

Change too:
Code:

// unserialize the datastore
$vbulletin->datastore->do_db_fetch("'vbs_category'");
$vbulletin->vbs_category = unserialize($vbulletin->vbs_category);
$vbulletin->datastore->do_db_fetch("'vbs_admin'");
$vbulletin->vbs_admin = unserialize($vbulletin->vbs_admin);

// check if the user is an admin
$show['useradmin'] = false;
if (vbsupport_can_moderate('canadminsupport'))
{

also for pms to work:
find in vbsupport.php:
Code:

// build the $emailids
 
    $pmids = explode(',', $vbulletin->vbs_category["$categoryid"]['adminpmusers']);
    $emailids = explode(',', $vbulletin->vbs_category["$categoryid"]['adminemailusers']);

    // check for email notifications
    if (is_array($emailids) && is_array($pmids))
    {
      // process add admins

      foreach($vbulletin->vbs_admin AS $userid => $user)
      {

Change too:
Code:

// build the $emailids
    $vbulletin->datastore->do_db_fetch("'vbs_category'");
    $pmids = explode(',', $vbulletin->vbs_category["$categoryid"]['adminpmusers']);
    $emailids = explode(',', $vbulletin->vbs_category["$categoryid"]['adminemailusers']);

    // check for email notifications
    if (is_array($emailids) && is_array($pmids))
    {
      // process add admins
      $vbulletin->datastore->do_db_fetch("'vbs_admin'");
      foreach($vbulletin->vbs_admin AS $userid => $user)
      {

Quaterbore posted a phrase add which must be done for pms regards to a support ticket being deleted by another admin and then clicking on the link in the PM that was sent by that ticket will cause an error since no phrase exists to handle this particular case.

Techno05 01-22-2007 09:08 PM

When posting a reply to a ticket we get a

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
INSERT INTO pm (pmid, pmtextid, userid, folderid, messageread) VALUES (0, , 402, 0, 0);

MySQL Error  : 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 ' 402, 0, 0)' at line 1
Error Number : 1064
Date        : Monday, January 22nd 2007 @ 11:05:56 PM
Script      : http://www.sigrequest.com/forums/vBSupport.php
Referrer    : http://www.sigrequest.com/forums/vBSupport.php?do=newreply&noquote=1&ticketreplyid=28
IP Address  : 83.100.224.13
Username    : Techno
Classname    : vB_Database_MySQLi

Error, any suggestions?

sinisterpain 01-22-2007 10:13 PM

Quote:

Originally Posted by Techno05 (Post 1165303)
When posting a reply to a ticket we get a

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
INSERT INTO pm (pmid, pmtextid, userid, folderid, messageread) VALUES (0, , 402, 0, 0);

MySQL Error  : 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 ' 402, 0, 0)' at line 1
Error Number : 1064
Date        : Monday, January 22nd 2007 @ 11:05:56 PM
Script      : http://www.sigrequest.com/forums/vBSupport.php
Referrer    : http://www.sigrequest.com/forums/vBSupport.php?do=newreply&noquote=1&ticketreplyid=28
IP Address  : 83.100.224.13
Username    : Techno
Classname    : vB_Database_MySQLi

Error, any suggestions?

You installed version 1.1, need to install version 2.0.


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