vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - [AJAX]Did you know ...? (Tip Management) (https://vborg.vbsupport.ru/showthread.php?t=146765)

Coleccromos 02-18-2009 10:06 PM

I do not get it to work gives me database error in version 3.7.5 on my forum

Any idea?

MySQL Error : Unknown column 'hidetip' in 'field list'

trulylowcarb 02-22-2009 09:12 PM

Thanks for this great mod!
I have this working fine on 3.8 except or the fact that I can't seem to exclude it on the index. Every other page I added to that list, it stopped displaying there, but index displays it every time, it's pretty strange.
I couldn't figure out how to get it confined to a cmps module either, as Viper had requested earlier.
Any thoughts on either issue would be appreciated. :)

trulylowcarb 03-06-2009 03:30 PM

Well, I finally got it to display in an existing CMPS module by just adding $GLOBALS[tip] to the bottom of my who's online box (adding it to the adv_portal_onlineusers template and removing it from the navbar). It's not optimal, but I like it better than the navbar location, and it resolves my strange index problem. If I ever get it to work in its own box, I will update again.

trulylowcarb 03-06-2009 10:43 PM

Eureka! I learned something today with my dog-with-a-bone mentality, LOL. To display this in a CMPS module, you need to go to the vbaCMPS Main Options, and in the Portal Output Global Variables box, enter
Code:

$global_tip
Then create a module - call it whatever you want - create a new template, again name it whatever you want, and for the content just use
Code:

$GLOBALS[tip]<br />
(You can use the br in your template or not, I thought it looked better with. And I have swapped out the included image to my own FYI, FYI...):o
*Be sure NOT to use the module wrapper template.
That's it! (Besides removing the reference in the navbar.)

joshskeety 01-02-2010 05:51 AM

How come this doesn't work with 3 .8.3? I followed all the necessary steps and never get a tip box.

viper357 06-18-2010 07:47 PM

I'm trying to get this working on 3.8.5 but I'm getting the following error when I change and try to save the settings in the usergroups...

Any idea what the problem could be? Thanks.
Code:

Database error in vBulletin 3.8.5:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        `title` = '<!-- Order=\"1\" -->Administrators',
        `description` = '',
        `usertitle` = '<img src=\"/images/newranks/top.gif\">',
        `opentag` = '<strong>',
        `closetag` = '</strong>',
        `passwordexpires` = '0',
        `passwordhistory` = '0',
        `automediaembed_edit_permissions` = '126',
        `automediaembed_view_permissions` = '126',
        `tipperms` = '1',
        `tipminhideposts` = '-1',
        `ecdownloadpermissions` = '16383',
        `ecexcludecatlist` = '',
        `ecdownloadsmaxuploadtotal` = '-1',
        `ecdownloadsmaxdailydl` = '-1',
        `ecdownloadsmaxdailyfiles` = '-1',
        `ecdownloaddelaygrp` = '-1',
        `vbimghost` = '3',
        `vbimghost_upslots` = '5',
        `vbimghost_files` = '5000',
        `videodirectorypermissions` = '511',
        `ms_search_all_unanswered_permissions` = '1',
        `forumpermissions` = '16777215',
        `genericpermissions` = '2147483583',
        `attachlimit` = '0',
        `pmquota` = '400',
        `pmpermissions` = '7',
        `pmsendmax` = '10',
        `pmthrottlequantity` = '0',
        `calendarpermissions` = '63',
        `wolpermissions` = '31',
        `adminpermissions` = '3',
        `genericpermissions2` = '1',
        `genericoptions` = '63',
        `profilepicmaxwidth` = '100',
        `profilepicmaxheight` = '100',
        `profilepicmaxsize` = '65535',
        `avatarmaxwidth` = '120',
        `avatarmaxheight` = '120',
        `avatarmaxsize` = '32768',
        `signaturepermissions` = '245759',
        `sigpicmaxwidth` = '500',
        `sigpicmaxheight` = '100',
        `sigpicmaxsize` = '20000',
        `sigmaxrawchars` = '0',
        `sigmaxchars` = '0',
        `sigmaxlines` = '0',
        `sigmaxsizebbcode` = '7',
        `sigmaximages` = '5',
        `albumpermissions` = '255',
        `albumpicmaxwidth` = '600',
        `albumpicmaxheight` = '600',
        `albumpicmaxsize` = '100000',
        `albummaxpics` = '100',
        `albummaxsize` = '0',
        `usercsspermissions` = '63',
        `visitormessagepermissions` = '63',
        `socialgrouppermissions` = '65535',
        `maximumsocialgroups` = '5',
        `groupiconmaxsize` = '65535'
WHERE usergroupid=6;

MySQL Error  : Unknown column 'tipperms' in 'field list'
Error Number  : 1054
Request Date  : Friday, June 18th 2010 @ 10:44:26 PM
Error Date    : Friday, June 18th 2010 @ 10:44:26 PM
Script        : http://www.******.com/*****/usergroup.php?do=update
Referrer      : http://www.*****.com/****/usergroup.php?do=edit&usergroupid=6
IP Address    : *****
Username      : *****
Classname    : vB_Database
MySQL Version : 5.0.90-community



All times are GMT. The time now is 10:27 AM.

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.01252 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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