vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - [DBTech] InfoPanels v2 (vB4) [AJAX] (https://vborg.vbsupport.ru/showthread.php?t=238351)

kevius 04-21-2011 08:44 AM

tks ! can you very much, now can you tell me what is the URL's variable to use for the path ?

DragonByte Tech 04-21-2011 09:01 AM

Sorry, I don't know that :(


Fillip

kevius 04-21-2011 09:12 AM

here it is your original code in dbtech_infopanels_panel (id : 12149)

PHP Code:

<a href="profile.php?{vb:raw session.sessionurl}do=editavatar">
                        <
vb:if condition="$avatar[0]">
                            <
img src="{vb:raw avatar.0}" alt="{vb:rawphrase edit_avatar}"{vb:raw avatar.1} />
                        <
vb:else />
                            {
vb:rawphrase edit_avatar}
                        </
vb:if> 

i've to change this line {vb:rawphrase edit_avatar} by this :

PHP Code:

<img src="http://www.MYURL/images/misc/unknown.gif"/> 

But i know it's bad to code url like this. Do you know how can i do better ?

DragonByte Tech 04-21-2011 09:22 AM

Ohh I see, just replace
HTML Code:

{vb:rawphrase edit_avatar}
With
HTML Code:

<img src="images/misc/unknown.gif" alt="{vb:rawphrase edit_avatar}" />
That should take care of that :)


Fillip

kevius 04-21-2011 09:24 AM

COOL !! Perfect thank you very much Fillip !

have a nice day !

whitedd 06-12-2011 10:34 PM

dont work in 4.1.4. :(

whitedd 06-12-2011 10:38 PM

it generate this database error:
Database error in vBulletin 4.1.4:

Invalid SQL:

SELECT IF(userid > 0, 1, 0) as isuser, COUNT(session.userid) as online_users
,user.usergroupid, displaygroupid, user.membergroupids
FROM session as session

WHERE session.lastactivity > 1307912055



GROUP BY isuser;

MySQL Error : Unknown column 'user.usergroupid' in 'field list

DragonByte Tech 06-12-2011 11:11 PM

Did you manually enable the "Who's Online - Query" plugin? That was left disabled when the product was released.

Fillip

NLPLegacy 06-19-2011 03:48 PM

Not working on other skins only the default skin

DragonByte Tech 06-19-2011 03:53 PM

Unfortunately we cannot support custom skins, you should contact your skin coder :)


Fillip


All times are GMT. The time now is 09:40 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.01425 seconds
  • Memory Usage 1,737KB
  • 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_html_printable
  • (2)bbcode_php_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