vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - microSUPPORT for vB4 (https://vborg.vbsupport.ru/showthread.php?t=230112)

Wilfred1 06-10-2010 01:07 AM

How can I get rid of the empty space when there isn't any sub categories

In the main template it uses vb:raw horizontalcategories which is wrapped with a br before and after the call to create the categories.
To do this it points to the microsupport_horizontal_categories template
This then uses the microsupport_horizontal_categories_bit template to create each category

The problem is if you are viewing the FAQ in a category and there are no sub categories there is a big blank space displayed where they would be if there were any.

I can't figure out how to create an "if" conditional in the main template to wrap around the vb:raw horizontalcategories call to not process it if there isn't any sub categories to display.

Any suggestions?

docvader 06-11-2010 05:09 AM

I need advice from the wizards here. I don't want to wrongly condemn this script, so I show to you the problem that I have. I am not suggesting that this script is at fault; but I think it's important to investigate this. The emails all come from Support, which is what I renamed the title of this script in my forums.

Since installing this script, I have been bombarded with spam from Sevastopol, Ukraine, Russia. Here's the typical header:

Quote:

Delivered-To: MY GMAIL ADDRESS
Received: by 10.114.110.9 with SMTP id i9cs110710wac;
Thu, 10 Jun 2010 10:41:01 -0700 (PDT)
Received: by 10.224.63.138 with SMTP id b10mr459233qai.222.1276191654906;
Thu, 10 Jun 2010 10:40:54 -0700 (PDT)
Return-Path: <murderer44@raywhite-toowong.com>
Received: from (MY SERVER IP)
by mx.google.com with ESMTP id i19si452686qci.50.2010.06.10.10.40.53;
Thu, 10 Jun 2010 10:40:53 -0700 (PDT)
Received-SPF: neutral (google.com: MY SERVER IP is neither permitted nor denied by best guess record for domain of murderer44@raywhite-toowong.com) client-ip=MY SERVER IP;
Authentication-Results: mx.google.com; spf=neutral (google.com: MY SERVER IP is neither permitted nor denied by best guess record for domain of murderer44@raywhite-toowong.com) smtp.mail=murderer44@raywhite-toowong.com
Received: from [78.30.219.250] (helo=250-219-30-78.host.sevstar.net)
by MY SERVER with esmtp (Exim 4.69)
(envelope-from <murderer44@raywhite-toowong.com>)
id 1OMlkI-0008MD-IF
for MY EMAIL ADDRESS; Thu, 10 Jun 2010 13:40:51 -0400
Received: from 78.30.219.250 by mail-commerce.ecn.net.au; Thu, 10 Jun 2010 20:40:44 +0200
Date: Thu, 10 Jun 2010 20:40:44 +0200
From: "russbo.com support" <admin@russbo.com>
X-Mailer: The Bat! (v3.5.25) Educational
Reply-To: murderer44@raywhite-toowong.com
X-Priority: 3 (Normal)
Message-ID: <113405151.83033930260976@raywhite-toowong.com>
To: doc@russbo.com
Subject: russbo.com account notification
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----------CC5350B90A99BD"
X-Spam-Status: No, score=
X-Spam-Score:
X-Spam-Bar:
X-Spam-Flag: NO
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - MY SERVER
X-AntiAbuse: Original Domain - russbo.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - raywhite-toowong.com

(My email addresses go into my gmail account to clean out the spam. I've replaced my relevant IP references with CAPITAL LETTERS)

From this, I'm assuming that the script was not hijacked in any way, to send out spam??? I really don't want to be annoying anyone with spam, which is why I've temporarily uninstalled this apparently great script.

Any advice would be appreciated.

Wilfred1 06-11-2010 06:48 AM

Maria
Great concept and thanks.

I have spent nearly 2 days fixing a lot of this script up:
- Spelling mistakes
- Incorrect image locations in the code
- Adding vb:raw headinclude_bottom to most of the templates
- Customising it to look and feel the same as vb

But, there are 4 things that I can't do and are desperately needed - as soon as these are fixed please PM me and I will send you my money as a registered user of it. They are - in order of need:
1. Fix up the vb breadcrumb in this mod
2. Include the vb Human Verification in the Submit Ticket for unregistered users
3. Remove the category space when there are no more sub-categories left in the tree (see 2 posts above)
4. Get the vb editor attachments working

These 4 things are what is stopping me from paying for a good mod so hopefully you can steal some time Maria to get these done - thanks again.

docvader 06-12-2010 08:02 AM

I reinstalled this hack, thinking that my allowing unregistered users to view the HelpDesk (support) area triggered the spam.

I hate to beat a dead horse about this, but after re-uploading the script files, my server host sent me an email which states the following:

Quote:


Below are the recently upload scripts that contain code to send email. You may wish to inspect them to ensure they are not sending out SPAM.

/home/xxxxxxxxxxxxx/public_html/forum/support.php:669: $message .= "</p><p>".$vbulletin->options["microsupport_email_footer"]."</p>";
/home/xxxxxxxxxxxxx/public_html/forum/support.php:670: mail($toemail, $subject, $message, $headers);
/home/xxxxxxxxxxxxx/public_html/forum/support.php:671: // Notify Technician
---
/home/xxxxxxxxxxxxx/public_html/forum/support.php:682: {
/home/xxxxxxxxxxxxx/public_html/forum/support.php:683: mail($toemail, $subject, $message, $headers);
/home/xxxxxxxxxxxxx/public_html/forum/support.php:684: }
---
/home/xxxxxxxxxxxxx/public_html/forum/support.php:685: } else {
/home/xxxxxxxxxxxxx/public_html/forum/support.php:686: mail($toemail, $subject, $message, $headers);
/home/xxxxxxxxxxxxx/public_html/forum/support.php:687: }
---
/home/xxxxxxxxxxxxx/public_html/forum/support.php:688: } else {
/home/xxxxxxxxxxxxx/public_html/forum/support.php:689: mail($toemail, $subject, $message, $headers);
/home/xxxxxxxxxxxxx/public_html/forum/support.php:690: }
---
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1039: $message .= "<p>".$vbulletin->options["microsupport_email_footer"]."</p>";
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1040: mail($toemail, $subject, $message, $headers);
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1041: } else {
---
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1066: {
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1067: mail($toemail, $subject, $message, $headers);
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1068: }
---
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1069: } else {
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1070: mail($toemail, $subject, $message, $headers);
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1071: }
---
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1072: } else {
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1073: mail($toemail, $subject, $message, $headers);
/home/xxxxxxxxxxxxx/public_html/forum/support.php:1074: }
---
/home/xxxxxxxxxxxxx/public_html/forum/includes/cron/microsupport_autoclose.php:43: $message .= "</p><p>".$vbulletin->options["microsupport_email_footer"]."</p>";
/home/xxxxxxxxxxxxx/public_html/forum/includes/cron/microsupport_autoclose.php:44: mail($toemail, $subject, $message, $headers);
/home/xxxxxxxxxxxxx/public_html/forum/includes/cron/microsupport_autoclose.php:45: }
---
Anybody care to comment about the security of this? It's a great hack, one which I find very useful, but having my site send out spam to the world is not exactly one of my goals in life.

SoltanWorld 06-12-2010 08:08 AM

nice reserved

lebmedia 06-13-2010 09:01 PM

hello ihave installed the pluging but me and the users cant see the page

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

any idea?

docvader 06-13-2010 09:19 PM

Go to usergroups, and set the permissions for each group to see or use the HelpDesk system.

I would not recommend opening it up to unregistered user groups. I think that's what triggered all the spam I was dealing with

lebmedia 06-13-2010 09:35 PM

hm ok done it , and i got this error lol

Fatal error: Call to undefined function getverticalcategories() in /home5/elielbco/public_html/forum/support.php on line 83

any idea please

docvader 06-15-2010 05:06 AM

Did you go to admincp / microsupport, and create categories? Set up the script in the admin area first??? (microsupport has it's own admin cp area).

thrylos 06-17-2010 04:41 PM

πολύ καλή δουλειά! :) great job, thanks! :)


All times are GMT. The time now is 06:17 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.01391 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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