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)

Delphiprogrammi 06-11-2007 07:32 PM

Quote:

Originally Posted by sinisterpain (Post 1265880)
Why dont you post up your changes? I had already posted that the problem was with the datastore so I made a post here with some changes but it did not seem to work for all.

i'm not allowed to post them according by the rules.The original seems to be busy with other things but that doesn't mean i can go ahead and violate the rules

sinisterpain 06-11-2007 08:03 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1266447)
i'm not allowed to post them according by the rules.The original seems to be busy with other things but that doesn't mean i can go ahead and violate the rules

Not sure I follow you, If the author basically abandoned the hack and you have some code changes that fix problems how is that a violation of the rules?

Delphiprogrammi 06-11-2007 08:54 PM

Quote:

Originally Posted by sinisterpain (Post 1266468)
Not sure I follow you, If the author basically abandoned the hack and you have some code changes that fix problems how is that a violation of the rules?

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
and vBulletin (.org) is pretty strict in that policy.I'll give you a hint through look at your database table named datastore then look in /includes/functions_vbsupport.php update_datastore() function that table contains two fields data and serialize however in that function is only one (requirerd) parameter set / updated so an error will occour

NineVB 06-21-2007 11:53 AM

Quote:

Originally Posted by gullystation (Post 1205462)
When Im editing the navbar and I put this code in :

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 -->

then this comes up:



Can someone help me please?

I found this problem too. The code as from the readme file, is missing a closing ].
Code:

<a href="vbsupport.php$session[sessionurl_q">
should be
Code:

<a href="vbsupport.php$session[sessionurl_q]">
Hope this helps.

sinisterpain 06-25-2007 04:37 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1266517)
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
and vBulletin (.org) is pretty strict in that policy.I'll give you a hint through look at your database table named datastore then look in /includes/functions_vbsupport.php update_datastore() function that table contains two fields data and serialize however in that function is only one (requirerd) parameter set / updated so an error will occour

If your posting on vb.org within the author's mod for a fix of problems, what you quoted does not apply since you are not redistributing, copying or publishing elsewhere.

shungo 07-01-2007 07:44 PM

Hey,

Since upgrade to 3.6.7, ajax functions seem not working at all.

And if i click on advanced edit, nothing appears in message box.

Anyone for help please ? :)

Best regards :)

DigitalXWeb 07-04-2007 05:47 PM

Quote:

Originally Posted by TheJackal56 (Post 1240196)
Has anyone got a fix or hack to allow user to submit attachments for 3.6.5?

I would be interested in having attachments working as well in 3.6.7, I have everything else working fine except those.

silvermerc 07-10-2007 04:17 PM

So this doesnt work on 3.6.7?

DigitalXWeb 07-10-2007 05:14 PM

Quote:

Originally Posted by silvermerc (Post 1287689)
So this doesnt work on 3.6.7?

Not 100%. Most of the the things work but there are a few glitches due to version differences.

LewisAinslie 07-15-2007 02:53 PM

Does this work? I keep getting Error when trying to access the view thread

http://community.gamerjuice.co.uk/vb...ewthread&tid=3

Thats the error

InTheBox 07-15-2007 04:38 PM

Quote:

Originally Posted by LewisAinslie (Post 1291860)
Does this work? I keep getting Error when trying to access the view thread

http://community.gamerjuice.co.uk/vb...ewthread&tid=3

Thats the error

I am assuming you are trying this as an unregistered user as that is how I am seeing it following the link above.

The "Guest" access is a bit broken (at least in my opinion) it is possible to get it somewhat working however it doesnt work correctly.

To activate Guest access make sure the vbSupport Unregistered Access setting under ACP->vbSupport-> Manage settings is set to "No" (this is a bug that was pointed out elsewhere in the thread) you also need to set the appropriate vbSupport permissions for the group as well. Note: There is quite a few permission problems / checks with the current code in regards to Guest access. At least with 3.6.7

RedGTiVR6 08-12-2007 07:15 PM

without reading through the 39 pages of this thread...
does this work on 3.6.8?
I cannot find a demo of this anywhere, just screen shots.
The big red bold text at the top of the mod bothers me a bit...is it safe to install now? Has anyone run into any issues?

RedGTiVR6 08-13-2007 01:04 PM

Fresh install on 3.6.8.

Go to manage categories and there are two errors (the same error shows up twice) on this page:

Code:

Warning: Invalid argument supplied for foreach() in /admincp/vbsupport.php on line 40
What does this mean?

EDIT: This post has the solution:

Quote:

Originally Posted by sinisterpain (Post 1165272)
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.


RedGTiVR6 08-13-2007 01:40 PM

Quote:

Originally Posted by snobird1211 (Post 1179118)
got it working but am now facing a problem

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

there is no option to choose a caotogorey and when u enter the message it says that im using 3.6.4 and have done all extra edits u have mentioned

What was your solution for this? I'm running into the same problem.

Nevermind: Post 500 contained the fixed code.

Now, I really need attachments to work as this is critical for our use. Every bug report needs to have a log.txt file with it....

yoyoyoyo 09-13-2007 09:22 PM

Ok - this is really weird - I uploaded the files to my server, imported the product, and then refreshed the ACP before doing the template edits, and found no vbSupport CP nav listed - I double-checked that all of the files went to the right folder, especially that the cpnav_vbsupport.xml went to "/public_html/forum/includes/xml" but it is see it is still not there.

http://img297.imageshack.us/img297/641/errorzj7.jpg

I am running 3.6.8 - any ideas?

WarLion 09-20-2007 04:02 AM

go to your plugins and product and enable the product is disable by default

yahoooh 09-24-2007 09:01 AM

pm not work , i did the fix codes but not work
when the ticket close , the quick reply show and work even the ticket is closed
attachement is not wrok

vb:3.6.8
php:5.2.4

Iskib 10-17-2007 03:52 PM

So any word on a full port to 3.6.8 with all features working ?

Lionel 10-21-2007 11:03 AM

I managed to get attachments to display, but I am having a hard time with editpost (when greater than post id#1)

I am also having a hard time with permissions. I thought of disabling editpost but it goes thru

dodgeuk19 10-21-2007 02:20 PM

nm,

sorted it

thanks

dodge

Delphiprogrammi 10-28-2007 12:02 PM

Quote:

Originally Posted by Lionel (Post 1364957)
I managed to get attachments to display, but I am having a hard time with editpost (when greater than post id#1)

I am also having a hard time with permissions. I thought of disabling editpost but it goes thru

look at newattachment.php and attachment.php if the editpost method is used vBulletin wants a postid ($postid) i think you somehow need to pass that variable in the newattachment template there's a hidden variable called edittpost (coming from a form) so i guess something like

PHP Code:

$vbulletin->input->clean_gpc('p','editpost',TYPE_BOOL); 

would be needed.Also in the editpost method you need to pass this to newattachment.php?$session[sessionurl]&p=$postinfo[postid]&editpost=1&postsstarttime=$poststarttime&posthash =$posthash

in the admincp file (vbsupport.php) are to manny security holes $_REQUEST values being used directly(they must be cleaned).The database being queried directly etc etc
this needs a start from scratch otherwise some holes will manage to slip in

Lionel 10-28-2007 12:15 PM

@delphiprogram Agreed! I gave up on this. The more I am fixing, the more other problems pop up.

Lionel 10-30-2007 09:40 PM

For those who are having problems with deleting a post, this seems to do the job for me. Not the most elegant, but hey it seems to work.

in plugins/vbsupport_inlinemod.php replace the foreach loop with

PHP Code:

        $post['firstpostid'] = false;
        
$gotothread true;
        foreach (
$postarray AS $postid => $post)
        {
            if(
$post['firstpostid'] == $post['postid'])
            {
            
$postman =& datamanager_init('Ticket_Thread'$vbulletinERRTYPE_SILENT'ticketpost');
            }else{
            
$postman =& datamanager_init('Ticket_Post'$vbulletinERRTYPE_SILENT'ticketpost');
            }
            
$postman->set_existing($post);
            
$postman->delete($post['postid'], $post['firstpostid'], array(
                
'userid' => $vbulletin->userinfo['userid'],
                
'username' => $vbulletin->userinfo['username'],
                
'reason' => $vbulletin->GPC['deletereason'],
                
'keepattachments' => $vbulletin->GPC['keepattachments']
            ));


            unset(
$postman); 


Delphiprogrammi 10-30-2007 10:44 PM

ey....

PHP Code:

$show['attachments'] = (vbsupport_can_moderate('canviewattachments')) ? true false

but still they won't display and you get the "no permissions" screen when clicking any attachment.While attachments do work fine in 1.1a

Lionel 10-30-2007 10:54 PM

Attachments display for me ... I don't remember what I did but they display just fine

Lionel 10-31-2007 01:10 AM

I did a beyond compare to view my changes. I am very busy, so I am putting this up like that.

Here is what I found in the main file.

1-Replace below with $threadid

Quote:

$getpost = $vbulletin->db->query_first("
SELECT postid
FROM " . TABLE_PREFIX . "vbs_ticket_post
WHERE threadid = $threadinfo[threadid]
ORDER BY dateline LIMIT 1
replace below with

$attachurl = "p=$postinfo[postid]";

Quote:

$attachurl = "t=1";
$newpost_attachmentbit = prepare_newpost_attachmentbit();
eval('$attachmentoption = "' . fetch_template('newpost_attachment') . '";');

$attach_editor['hash'] = $postinfo['postid'];
$attach_editor['url'] = "newattachment.php?$session[sessionurl]p=$postinfo[postid]&amp;editpost=1&amp;poststarttime=$poststarttime&a mp;posthash=$posthash";
}
else
{
$attachmentoption = '';
}
replace below with

$newpost['message']


Quote:

$editorid = construct_edit_toolbar(
$postinfo['message'],
0,
'',
true,
replace below with (twice)


$attachurl = "f=2";



Quote:

$attachurl = "t=1";
$newpost_attachmentbit = prepare_newpost_attachmentbit();
eval('$attachmentoption = "' . fetch_template('newpost_attachment') . '";');

$attach_editor['hash'] = $foruminfo['forumid'];
$attach_editor['url'] = "newattachment.php?$session[sessionurl]f=$foruminfo[forumid]&amp;poststarttime=$poststarttime&amp;posthash=$po sthash";
And if you do my change above, all the bugs are done as far as I could tell. If someone finds more, then let me know.

DarkLord7854 11-08-2007 04:52 AM

Hey,

Was wondering if there's a simple way I can add another drop-down menu category selection, or add a small input box which would add whatever text was put into it and make it the topic/ticket description, or add the text after the title seperated by a hyphen?

Ninja Edit:
Can't download attachments, says permissions ain't set right even though they are >.<

Takamine334 12-07-2007 04:38 PM

So, users can create a ticket. However, when submitting, it says they are not authorized to view the page. If they go to their ticket listings, it shows 1, but they cannot see the ticket.

Takamine334 12-07-2007 07:00 PM

the Quick Reply is very small. How do I make it the size of a normal quick reply?

Solja-Mike 01-04-2008 08:15 PM

Is there any type of reporting feature for this addon?

jschvili 01-08-2008 05:04 AM

Can anyone offer a demo or screenshots? Sounds like a perfect hack, but I like to SEE how it work and look like before I install it. Thank you, guys!

yahoooh 01-21-2008 05:27 PM

any update?

steven1091 02-25-2008 10:23 PM

"Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,

avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
level,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid

FROM vbs_ticket_post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)

LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid) LEFT JOIN reputationlevel AS reputationlevel ON(user.reputationlevelid = reputationlevel.reputationlevelid)
WHERE post.postid IN (0,13)

ORDER BY post.dateline;

MySQL Error : Unknown column 'level' in 'field list'
Error Number : 1054
Date : Tuesday, February 26th 2008 @ 12:20:29 AM
Script : http://habbovalley.com/vbsupport.php...wthread&tid=11
Referrer : http://habbovalley.com/vbsupport.php?do=newthread
IP Address : 82.20.36.29
Username : Blured"


Get that when i try to submit a ticket?

Shawn Yue 03-16-2008 10:53 AM

Warning: require_once(/home/shawnyue/public_html/forum/includes/functions_vbsupport.php) [function.require-once]: failed to open stream: No such file or directory in /admincp/plugin.php(1970) : eval()'d code on line 173

Fatal error: require_once() [function.require]: Failed opening required '/home/shawnyue/public_html/forum/includes/functions_vbsupport.php' (include_path='.:/x10hosting/php2/pear/PEAR') in /home/shawnyue/public_html/forum/admincp/plugin.php(1970) : eval()'d code on line 173

This Error Appear When I Upload The Vbsupport xml file at the admin cp panel....And Never Successfully Install The Software......

and I Dun knwo I uPLOAD THE FILE CORRECTLY SOMEONE PLS GUILD ME....

Shawn Yue 03-16-2008 12:24 PM

What Does this Mean WHEN I INSTALLL

ADD NAVBAR CODE IN IT

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/shawnyue/public_html/forum/includes/adminfunctions_template.php(3596) : eval()'d code on line 88

Meestor_X 03-17-2008 01:06 AM

Where can I see what this mod looks like?

I went to the cmgsccc web site and even registered to the forums, but I can't see any forum with vbsupport, or any screenshots....

Is this the most current and best mod for creating support tickets on vb? (I know, vague question, but I'd like to know if it's any good...)

Thanks in advance!

-Andy.

Shawn Yue 03-17-2008 03:44 AM

need help read my above post pls

flasher33 03-18-2008 01:39 AM

same here
Quote:

Parse error: syntax error, unexpected T_CHARACTER, expecting ']' in /home/pclink4/public_html/vb/includes/adminfunctions_template.php(3587) : eval()'d code on line 82

Shawn Yue 03-18-2008 02:30 AM

Warning: require_once(/home/shawnyue/public_html/forum/includes/functions_vbsupport.php) [function.require-once]: failed to open stream: No such file or directory in /admincp/plugin.php(1970) : eval()'d code on line 173

Fatal error: require_once() [function.require]: Failed opening required '/home/shawnyue/public_html/forum/includes/functions_vbsupport.php' (include_path='.:/x10hosting/php2/pear/PEAR') in /home/shawnyue/public_html/forum/admincp/plugin.php(1970) : eval()'d code on line 173

This Error Appear When I Upload The Vbsupport xml file at the admin cp panel....And Never Successfully Install The Software......

and I Dun knwo I uPLOAD THE FILE CORRECTLY SOMEONE PLS GUILD ME....

And

What Does this Mean WHEN I INSTALLL

ADD NAVBAR CODE IN IT

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/shawnyue/public_html/forum/includes/adminfunctions_template.php(3596) : eval()'d code on line 88

Please Someone Guild Me With tHE iNSTALL I THINK INSTALL WRONGLY OR WHAT....

SEOvB 03-18-2008 02:38 AM

Are you guys using vBulletin 3.5?

If you are using 3.6 or 3.7 then this probably doesnt work on it


All times are GMT. The time now is 06:48 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.02347 seconds
  • Memory Usage 1,871KB
  • 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
  • (8)bbcode_code_printable
  • (3)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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