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)

Veer 09-03-2008 10:14 AM

Quote:

Originally Posted by MissKalunji (Post 1612987)
for those with prefix : you might be able to hard code the database name (yourself) in the files (php and product)

Thats one alternative

Sorry, I don't know how to do this, I think christian8a can do it better.
christian8a please provide a fixed version for those with prefix.

RedTrinity 09-03-2008 10:15 AM

Quote:

Originally Posted by Pehchaan (Post 1612950)
So doesn't work for me, as my config.php file has a table prefix.

Please provide a fixed verson for this issue also.

thanks.

I 2nd this motion. I am very interested in this hack but my forum has a table prefix too, being that it was originally converted from PHPBB3 software.

Hoping a universal version is released soon.

RedeemedWarrior 09-03-2008 10:34 AM

I imagine someone with the time to do it would find it an easy fix.

apiasto 09-03-2008 10:55 AM

ya i think it will be good to have it if it works with prefix

R-D 09-03-2008 11:46 AM

I think this is the fix for the table prefixes. I can't test it as my board doesn't use table prefixes, but it should work.

It adds the table prefixes to the install/uninstall code, so you should probably uninstall the old product first, before you install this one.

As far as I can see, table prefixes are already used everywhere else, it's just in the install/uninstall code that they're missing.

*EDIT* - There's still an error with lists (see below), so please wait until I can fix the error before installing.

RedeemedWarrior 09-03-2008 12:15 PM

I'll try it on my testvb

Vinyljunky 09-03-2008 12:40 PM

Quote:

Originally Posted by fattony69 (Post 1612998)
Is there anyway of integrating this with vbcredits?

I'd also love to use this with VBCredits :up:

RedeemedWarrior 09-03-2008 12:43 PM

caused database error's when viewing lists, yet not for adding items

R-D 09-03-2008 01:10 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1613548)
caused database error's when viewing lists, yet not for adding items

Can you post them here? Thanks. I most probably missed a table prefix somewhere.

macc 09-03-2008 01:24 PM

i have two links in member profile - left is " send to yourself " and right " my gifts" ?

some help

regards

macc

macc 09-03-2008 01:38 PM

i found ... solution but when i write some text ...i see only ????

macc

macc 09-03-2008 03:10 PM

on profile info ... mygifts i see ???? that comes from here:
PHP Code:

<td class="alt2" height="60"><div class="smallfont"><span class="time">$vbphrase[gift_note]</span> <if condition="$gift[comment]">$gift[comment]<else />???</if> </div></td

it is in templete gifts_list_bit and viewable when you click to "view all gifts"!


is it ok or something must be chaged to see message there??

regards

macc

RedeemedWarrior 09-03-2008 03:50 PM

MySQL Error : Unknown column 'gift_categories.title' in 'field list'
Error Number : 1054
Request Date : Wednesday, September 3rd 2008 @ 02:20:46 PM
Error Date : Wednesday, September 3rd 2008 @ 02:20:47 PM
Script :/admincp/gifts.php?do=listcategories

christian8a 09-03-2008 05:12 PM

Thanx R-D
When you find the fix for the table prefix let me know so we add it to the original file also.

macc
Those ??? are for when they dont write a gift public note, some of them just write a private message with it.

On your profile you will find those 2 links "Send gift to yourself" and "My gifts"
On others profiles you will see "Send gifts" and "view all"

macc 09-03-2008 05:33 PM

do not understand those ??? - i write private message and that come in view gifts - but no message (same in priv. and public messages) - diffrence is private messages (to user who recived giftes - can read messages post in gifts)

reg

macc

can i put some another instead ??? in template ?

christian8a 09-03-2008 06:55 PM

Quote:

Originally Posted by macc (Post 1613784)
do not understand those ??? - i write private message and that come in view gifts - but no message (same in priv. and public messages) - diffrence is private messages (to user who recived giftes - can read messages post in gifts)

reg

macc

can i put some another instead ??? in template ?

If it doesnt show up for some reason, yea you can change those ???
exactly where you said where it came from just change it

macc 09-03-2008 07:18 PM

i mean in private messages you can read message but not in gifts messages( public or privat)

what i can put there instead ???

some sugestions?

and also you are not updated you mod with those templates (bitfiled) - i copied from posts here !
reg

macc

Rene Kriest 09-03-2008 07:36 PM

Wow, that addon really grabbed my attention! I'll give it a try. :)

christian8a 09-04-2008 06:37 AM

Quote:

Originally Posted by macc (Post 1613865)
i mean in private messages you can read message but not in gifts messages( public or privat)

what i can put there instead ???

some sugestions?

and also you are not updated you mod with those templates (bitfiled) - i copied from posts here !
reg

macc

I really dont get why the problem man, I am using 3.7.0 and what I installed is what you have installed, and mine works perfect, sorry if for other mods you have it might act weird but, I dont know exactly what could cause that :(

popular 09-04-2008 01:47 PM

works for me with 3.7.3 (although i had to custom edit the layouts to get it to look right) , would be nice if we could restrict sending gifts to once a week or something or require it to have a certain amount of posts like 1000 to be able to send 1 gift otherwise its kinda meaningless.

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.

TimberFloorAu 09-06-2008 04:22 AM

Hmmm.. Reserved.

Just uploaded and Installed, inc template edit. Clicked on a username, :call to undefined function mysql crapped itself.

Uninstalled, will watch and wait :)

christian8a 09-06-2008 06:55 AM

Quote:

Originally Posted by nightbloom (Post 1615615)
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.

Yea thats how I had it before, I put 2 columns and a total of 6 gifts to display :)
glad you figured it out and worked for you ;)

Chadi 09-07-2008 01:39 AM

Quote:

Set your values on your admin cp options.
Option does not exist.
Quote:

Set your settings on the admin cp
Add gifts as follows:

example:

-Name of the gift: Beer
-Description of gift: Beer in a glass
-Choose category: drinks
-enter url (images/gifts/drinks/4873992.gif)
Also does not exist.

katie hunter 09-07-2008 04:35 AM

I am facing 2 issues after installing it everything looks fine

But first i don't have the permission to send gifts, i also don't see the gift tab in the admin cp

https://vborg.vbsupport.ru/attachmen...2&d=1220348149

and i don't see this in the usergroups

https://vborg.vbsupport.ru/attachmen...4&d=1220348426

Why is that ? I have vb 3.7.3 btw

Quote:

Originally Posted by chadi (Post 1616282)
Option does not exist.


Also does not exist.


Same here i don't see the gift option in my admin cp, the one that is under the users tab, doesn't exist

christian8a 09-07-2008 06:34 AM

Quote:

Originally Posted by katie hunter (Post 1616354)
I am facing 2 issues after installing it everything looks fine

But first i don't have the permission to send gifts, i also don't see the gift tab in the admin cp

https://vborg.vbsupport.ru/attachmen...2&d=1220348149

and i don't see this in the usergroups

https://vborg.vbsupport.ru/attachmen...4&d=1220348426

Why is that ? I have vb 3.7.3 btw




Same here i don't see the gift option in my admin cp, the one that is under the users tab, doesn't exist

Download the file again, that bug was fixed 2 days ago :up:

katie hunter 09-07-2008 06:38 AM

I did download that file today =s u sure u didn't upload the same file ? i will download it again though.

Edit: installed it again but still i don't see the gift tab. I also saw the the edit you made 2 days ago
https://vborg.vbsupport.ru/showpost....2&postcount=32
but still that didn't solve the issue, the gift tab doesn't show for me ;l

This doesn't show in my admin cp

https://vborg.vbsupport.ru/attachmen...2&d=1220348149

may be it has to do with this ?

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

but i don't know what did you mean by a "set table prefix"

hobsdv 09-07-2008 10:51 AM

installed working fine

great mod thanks

Chadi 09-07-2008 01:34 PM

Quote:

This product will not install properly if you have set a table prefix for your site.
First time I've ever heard such a strange thing for a mod.

PossumX 09-07-2008 02:09 PM

Is the table prefix restriction going to be fixed, or not?

aryshi 09-07-2008 03:42 PM

christian8a

there mastik when i receve a private message about the gift

this code show in first and last private message

Quote:

<!-- BEGIN TEMPLATE: gifts_pm_template -->
<!-- END TEMPLATE: gifts_pm_template -->


All times are GMT. The time now is 05:15 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.01732 seconds
  • Memory Usage 1,860KB
  • 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_code_printable
  • (3)bbcode_php_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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