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)

Xencored 05-18-2010 04:54 PM

1 Attachment(s)
How can i move the Welcome back panel mate
need it about my forums and below the adds

one more question where did you get the code from for this?
Ive been using this for along time before you was even a member
Not that am complaining you have ported it to 4 but you should give credits to the original coder?
(BTW original coder is not me :D)
Original code Vb3.5-3.8

DragonByte Tech 05-18-2010 05:16 PM

Quote:

Originally Posted by Animemike (Post 2039340)
How can i move the Welcome back panel mate
need it about my forums and below the adds

For the Lite version, you need to modify the code.
Find in /dbtech/infopanels/includes/hooks/forumhome.complete:
PHP Code:

$ad_location['global_below_navbar'] = implode(''$infopanels) . $ad_location['global_below_navbar']; 

Change to
PHP Code:

$ad_location['global_below_navbar'] .= implode(''$infopanels); 

Quote:

Originally Posted by Animemike (Post 2039340)
one more question where did you get the code from for this?
Ive been using this for along time before you was even a member
Not that am complaining you have ported it to 4 but you should give credits to the original coder?
(BTW original coder is not me :D)
Original code Vb3.5-3.8

Permission to use the design layout of the old ITech welcome panels were given to us :)

Xencored 05-18-2010 05:19 PM

Quote:

Originally Posted by DragonByte Tech (Post 2039352)
For the Lite version, you need to modify the code.
Find in /dbtech/infopanels/includes/hooks/forumhome.complete:
PHP Code:

$ad_location['global_below_navbar'] = implode(''$infopanels) . $ad_location['global_below_navbar']; 

Change to
PHP Code:

$ad_location['global_below_navbar'] .= implode(''$infopanels); 

Permission to use the design layout of the old ITech welcome panels were given to us :)

Awesome thanks

And thats great you got Permission thanks for porting to 4 :up:

Xencored 05-18-2010 05:28 PM

Hey also

I tryed to remove ", 0 Medals and 0 Trophies." from the line
You have x Achievements, x Medals and x Trophies.

Code:

<vb:if condition="$activity['activitylevel']"><b>&raquo;</b> {vb:rawphrase dbtech_infopanel_vbactivity_x_y_z, {vb:raw activity.achievement}, {vb:raw activity.medal}, {vb:raw activity.trophy}}<br /></vb:if>
When i removed
Code:

{vb:raw activity.medal}, {vb:raw activity.trophy}
give me a few errors :D as you can see i am not good with coding
hope you could help me out
Thanks

DragonByte Tech 05-18-2010 05:41 PM

Quote:

Originally Posted by Animemike (Post 2039360)
Hey also

I tryed to remove ", 0 Medals and 0 Trophies." from the line
You have x Achievements, x Medals and x Trophies.

Code:

<vb:if condition="$activity['activitylevel']"><b>&raquo;</b> {vb:rawphrase dbtech_infopanel_vbactivity_x_y_z, {vb:raw activity.achievement}, {vb:raw activity.medal}, {vb:raw activity.trophy}}<br /></vb:if>
When i removed
Code:

{vb:raw activity.medal}, {vb:raw activity.trophy}
give me a few errors :D as you can see i am not good with coding
hope you could help me out
Thanks

To do that you also need to change the phrase dbtech_infopanel_vbactivity_x_y_z and remove {2} and {3} in addition to the code you removed above :)

Xencored 05-18-2010 05:50 PM

Quote:

Originally Posted by DragonByte Tech (Post 2039373)
To do that you also need to change the phrase dbtech_infopanel_vbactivity_x_y_z and remove {2} and {3} in addition to the code you removed above :)

Bah yea sorry for my dumbness should of known that one Thanks again
Pm sent back btw :D

DragonByte Tech 05-18-2010 06:03 PM

Quote:

Originally Posted by Animemike (Post 2039354)
Awesome thanks

And thats great you got Permission thanks for porting to 4 :up:

Just gunna point out that this has actually been coded from scratch ^.^

Layout is as per Inferno Top X Stats which i designed with ZT =)

Iain

Xencored 05-18-2010 06:09 PM

Quote:

Originally Posted by DragonByte Tech (Post 2039384)
Just gunna point out that this has actually been coded from scratch ^.^

Layout is as per Inferno Top X Stats which i designed with ZT =)

Iain

Am happy with it :D

Xencored 05-19-2010 07:08 AM

Found a Bug for you xD

Mark Forums Read is missing the
Code:

{vb:raw bbuserinfo.securitytoken}
In dbtech_infopanel_panel template find

Code:

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a>
Replace with

Code:

<a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;markreadhash={vb:raw bbuserinfo.securitytoken}">{vb:rawphrase mark_forums_read}</a>
Hope it helps when people get securitytoken error :up:

daveaite 05-19-2010 08:06 AM

Nice work. Tagged


All times are GMT. The time now is 12:50 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.02200 seconds
  • Memory Usage 1,754KB
  • 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
  • (7)bbcode_code_printable
  • (4)bbcode_php_printable
  • (7)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