vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - MyLs1 Gifts ( Send gifts or drinks! ) (https://vborg.vbsupport.ru/showthread.php?t=189788)

NoDRaC 09-04-2008 08:23 PM

how can we do this in default thema it brakes default memberinfo template

christian8a 09-04-2008 09:27 PM

Quote:

Originally Posted by NoDRaC (Post 1614630)
how can we do this in default thema it brakes default memberinfo template

If you put it on the side blocks or in the tabs

katie hunter 09-05-2008 01:54 AM

Hi Chris!
Does this addon works with regular skins other then the facebook style *-* ?

P.s what do you mean by this as well ?

Quote:

This product will not install properly if you have set a table prefix for your site. Please double check.
If everything is ok, proceed

christian8a 09-05-2008 02:44 AM

Quote:

Originally Posted by katie hunter (Post 1614798)
Hi Chris!
Does this addon works with regular skins other then the facebook style *-* ?

P.s what do you mean by this as well ?

Yea on the member info under the tabs you can add it somewhere there or on the side column.

The table prefix if you didnt set one dont worry about it, if you did at this time it wont work.
If you have no idea what it is and you installed your vb yourself just try installing it, it should work

katie hunter 09-05-2008 04:52 PM

Quote:

Originally Posted by christian8a (Post 1614817)
Yea on the member info under the tabs you can add it somewhere there or on the side column.

The table prefix if you didnt set one dont worry about it, if you did at this time it wont work.
If you have no idea what it is and you installed your vb yourself just try installing it, it should work

Can u post an example of your modification working on the side column ? the code i mean, so i wouldn't mess it up, i have 7 skins on my site ;s

so for example where would i past this ?

$blocks[gifts]

dtv100 09-05-2008 05:00 PM

when I enter $blocks[gifts] it freeze all the others tabs.

aryshi 09-05-2008 07:27 PM

Quote:

Originally Posted by dtv100 (Post 1615288)
when I enter $blocks[gifts] it freeze all the others tabs.

i have same problem ?

katie hunter 09-05-2008 08:10 PM

I will just wait till i see a better version ;l too many bugs

christian8a 09-06-2008 03:35 AM

Quote:

Originally Posted by dtv100 (Post 1615288)
when I enter $blocks[gifts] it freeze all the others tabs.

Quote:

Originally Posted by jazan (Post 1615352)
i have same problem ?

Quote:

Originally Posted by katie hunter (Post 1615389)
I will just wait till i see a better version ;l too many bugs

The idea of the gifts block is to display right on the profile page, not the tabs, the way facebook does, if it messes up the tabs then the only option would be to put it on the side column or on top of the tabs like ....

templates >> memberinfo

find:

PHP Code:

            <!-- / contact popup menu -->
    </
div>

    <
div id="profile_tabs">
        
$template_hook[profile_left_first]
        
$blocks[visitor_messaging]
        
$blocks[aboutme]
        
$blocks[stats]
        
$blocks[friends]
        
$blocks[infractions]
        
$blocks[contactinfo]
        
$template_hook[profile_left_last]
    </
div>

    <
script type="text/javascript">
    <!--
    
vBulletin.register_control("vB_TabCtrl""profile_tabs""$selected_tab""&raquo;""profile.php?u=2&do=loadtab&tabid={1:tabid}");
    
//-->
    
</script


And add it right here:


PHP Code:

            <!-- / contact popup menu -->
    </
div>

$blocks[gifts]

    <
div id="profile_tabs">
        
$template_hook[profile_left_first]
        
$blocks[visitor_messaging]
        
$blocks[aboutme]
        
$blocks[stats]
        
$blocks[friends]
        
$blocks[infractions]
        
$blocks[contactinfo]
        
$template_hook[profile_left_last]
    </
div>

    <
script type="text/javascript">
    <!--
    
vBulletin.register_control("vB_TabCtrl""profile_tabs""$selected_tab""&raquo;""profile.php?u=2&do=loadtab&tabid={1:tabid}");
    
//-->
    
</script


nightbloom 09-06-2008 03:49 AM

I added mine to that side column no problem. ^^

Code:

<div id="sidebar_container">
        <!-- sidebar -->
        $template_hook[profile_right_first]
        $blocks[stats_mini]
        $blocks[youtube]
        $blocks[gifts]
        $template_hook[profile_right_mini]
        $blocks[friends_mini]
        $blocks[albums]
        $template_hook[profile_right_album]
        $blocks[groups]
        $blocks[visitors]
        $template_hook[profile_right_last]
        <!-- / sidebar -->

I had to reduce the number of gifts shown to 3 per row, 2 rows to make it fit properly. Ive experimented putting it in different places but I fiund the side column was the best place for my layout. The lovely thing about those blocks is you can rearrange them however you want pretty easily.


All times are GMT. The time now is 01: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.02424 seconds
  • Memory Usage 1,762KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (8)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