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 - vS-Interactive Profiles (https://vborg.vbsupport.ru/showthread.php?t=150028)

xug 06-21-2007 07:04 PM

Started from scratch with another vbinstall and now I already get an error while installing the product:

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 665

I read now that psionic vision doesn't provide support, but I believe if you post here a product it needs to be error free, signed also up for the visionscripts forum where it doesn't let me enter the specific forum as I'm not a customer, while this product is no longer in your store I have no clue how to get this running, so please reconsider givin some sort of support.

kau 06-21-2007 07:06 PM

Will this work for 3.5 or is there a similiar hack for 3.5?

dope15gd 06-21-2007 10:29 PM

thanks for the styles Loco.M :)

Stifmeister2 06-22-2007 03:08 PM

If I install this does it still display profile pic (if user has one)?

PoetJA-1975 06-22-2007 04:31 PM

Quote:

Originally Posted by Stifmeister2 (Post 1273981)
If I install this does it still display profile pic (if user has one)?

yep!

Jacquii.

katie hunter 06-22-2007 06:47 PM

omg =/ how can i fix this
I replaced everything and when i imported the xml file, that is what i get

Warning: Unknown(/home/nihonoma/public_html/forum/includes/visionscripts/psionic_iprof/_install.php): failed to open stream: No such file or directory in /admincp/plugin.php(1964) : eval()'d code on line 1

Warning: Unknown(/home/nihonoma/public_html/forum/includes/visionscripts/psionic_iprof/_install.php): failed to open stream: No such file or directory in /admincp/plugin.php(1964) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required '/home/nihonoma/public_html/forum/includes/visionscripts/psionic_iprof/_install.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nihonoma/public_html/forum/admincp/plugin.php(1964) : eval()'d code on line 1

ragtek 06-22-2007 06:55 PM

you replaced and you imported
but have you uploaded the files?;)

katie hunter 06-22-2007 07:06 PM

I fixed this but the profile looks awfull, not like i see it in here =/
I can't commant on profile and the places are showing in the wrong places, like pm is showing in the middle and there is blank spots etc.. ;x

skariko 06-22-2007 08:06 PM

I'm sorry but I found a bug..
A member is born on 23th October and he's Scorpio.

The zodiac sign that appear on his profile is Libra..

..why?
Can I modify it?

Thanks,

katie hunter 06-22-2007 09:59 PM

I think i fixed it =P but ppl can't commant on members profile, i have 3 skins and non work .
Also the element skin and greenfox, some of the section are a bit off. x3

BBI-Ross 06-23-2007 01:16 PM

Have you set the usergroup permissions?

TheMilkCarton 06-23-2007 02:39 PM

Quote:

Originally Posted by skariko (Post 1274194)
I'm sorry but I found a bug..
A member is born on 23th October and he's Scorpio.

The zodiac sign that appear on his profile is Libra..

..why?
Can I modify it?

Thanks,

Actually a few of the dates don't match with the right zodiac sign. I'm looking through the dates right now and can edit this post with the correct code.

Blah.. looking into it more, the days vary a lot by where exactly you look.. :)
----------------------------------------------------

Go to Plugin Manager > Interactive Profiles -- System (the one at the "init_startup" hook location)

FIND:
PHP Code:

case '1':
            
$zodiacsign = ($birthday[1] <= 20)     ?     'capricorn'         :     'aquarius';
        break;
        case 
'2':
            
$zodiacsign = ($birthday[1] <= 19)     ?     'aquarius'             :     'pisces';
        break;
        case 
'3':
            
$zodiacsign = ($birthday[1] <= 20)     ?     'pisces'             :     'aries';
        break;
        case 
'4':
            
$zodiacsign = ($birthday[1] <= 20)     ?     'aries'             :     'taurus';
        break;
        case 
'5':
            
$zodiacsign = ($birthday[1] <= 21)     ?     'taurus'             :     'gemini';
        break;
        case 
'6':
            
$zodiacsign = ($birthday[1] <= 21)     ?     'gemini'             :     'cancer';
        break;    
        case 
'7':
            
$zodiacsign = ($birthday[1] <= 22)     ?     'cancer'             :     'leo';
        break;
        case 
'8':
            
$zodiacsign = ($birthday[1] <= 23)     ?     'leo'                 :     'virgo';
        break;
        case 
'9':
            
$zodiacsign = ($birthday[1] <= 21)     ?     'virgo'                 :     'libra';
        break;
        case 
'10':
            
$zodiacsign = ($birthday[1] <= 23)     ?     'libra'                 :     'scorpio';
        break;
        case 
'11':
            
$zodiacsign = ($birthday[1] <= 22)     ?     'scorpio'             :     'sagittarius';
        break;
        case 
'12':
            
$zodiacsign = ($birthday[1] <= 22)     ?     'sagittarius'        :     'capricorn';
        break; 

REPLACE WITH:
PHP Code:

case '1':
            
$zodiacsign = ($birthday[1] <= 19)     ?     'capricorn'         :     'aquarius';
        break;
        case 
'2':
            
$zodiacsign = ($birthday[1] <= 18)     ?     'aquarius'             :     'pisces';
        break;
        case 
'3':
            
$zodiacsign = ($birthday[1] <= 20)     ?     'pisces'             :     'aries';
        break;
        case 
'4':
            
$zodiacsign = ($birthday[1] <= 19)     ?     'aries'             :     'taurus';
        break;
        case 
'5':
            
$zodiacsign = ($birthday[1] <= 20)     ?     'taurus'             :     'gemini';
        break;
        case 
'6':
            
$zodiacsign = ($birthday[1] <= 21)     ?     'gemini'             :     'cancer';
        break;    
        case 
'7':
            
$zodiacsign = ($birthday[1] <= 22)     ?     'cancer'             :     'leo';
        break;
        case 
'8':
            
$zodiacsign = ($birthday[1] <= 22)     ?     'leo'                 :     'virgo';
        break;
        case 
'9':
            
$zodiacsign = ($birthday[1] <= 22)     ?     'virgo'                 :     'libra';
        break;
        case 
'10':
            
$zodiacsign = ($birthday[1] <= 22)     ?     'libra'                 :     'scorpio';
        break;
        case 
'11':
            
$zodiacsign = ($birthday[1] <= 21)     ?     'scorpio'             :     'sagittarius';
        break;
        case 
'12':
            
$zodiacsign = ($birthday[1] <= 21)     ?     'sagittarius'        :     'capricorn';
        break; 

Quote:

Originally Posted by skariko (Post 1274194)
Can I modify it?

It says this product is freely modifiable in the description, so I sure hope so. Otherwise, I'd have to undo a lot of changes. :)

Hope this works for you! :)


P.S. - I got all the dates from one source -- Wikipedia -- so if you disagree with any of the other dates (or any of your members do) then go ahead and change them.

katie hunter 06-23-2007 03:17 PM

I have it on my defaul skin but it looks way messed up on greenfox and element skin =/ so i took them out but i like to have them though

akanevsky 06-23-2007 07:34 PM

Quote:

Originally Posted by skariko (Post 1274194)
I'm sorry but I found a bug..
A member is born on 23th October and he's Scorpio.

The zodiac sign that appear on his profile is Libra..

..why?
Can I modify it?

Thanks,

That's not true. A person born on the 23rd of October is a Libra, according to some horoscopes.

fpouk 06-23-2007 09:13 PM

I have edited all the templates and files that was supposed to be edited but when i install the product it gets stuck at the screen where it is installing. It doesnt import anything

any suggestions?

MDK-Indy 06-24-2007 11:19 AM

Sal?,

have an Error...

PHP Code:

Parse errorsyntax errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting T_STRING or T_VARIABLE or T_NUM_STRING in /www/de/forum.gwars/docs/member.php(819) : eval()'d code on line 385 


Code in member.php...

PHP Code:

// AVATAR
$avatarurl fetch_avatar_url($userinfo['userid']);
 
if (
$avatarurl == '' OR !$vbulletin->options['avatarenabled'] OR ($avatarurl['hascustom'] AND !($userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canuseavatar']) AND !$userinfo['adminavatar']))
{
    
$show['avatar'] = false;
}
else
{
    
$show['avatar'] = true;
    
$userinfo['avatarsize'] = $avatarurl[1];
    
$userinfo['avatarurl'] = $avatarurl[0];


// AVATAR is line 385

Can anyone help me please?

Greeting Indy

soletrader 06-24-2007 08:06 PM

Quote:

Originally Posted by Psionic Vision (Post 1271695)
Please download the package again and use the new memberinfo modification for zodiac sign... There was a little fix. To summarize, the fix is as follows:

REPLACE A VBULLETIN 3.6.5-AND-BELOW VERSION...

HTML Code:

                                <if condition="$userinfo['zodiac_sign']">
                                <tr>
                                        <td>
                                                <strong>$vbphrase[iprof_zodiac_sign]</strong>:<br />
                                                $userinfo[zodiac_sign]
                                        </td>
                                </tr>
                                </if>

WITH A VB 3.6.6+ VERSION...

HTML Code:

                                <if condition="$userinfo['zodiac_sign']">
                                        <dt class="smallfont"><strong>$vbphrase[iprof_zodiac_sign]</strong>:</dt>
                                        <dd class="smallfont">$userinfo[zodiac_sign]</dd>
                                </if>


Hi, I made the changes but the layout did not change. Could you help me out? Thanks

skariko 06-24-2007 08:59 PM

Quote:

Originally Posted by TheMilkCarton (Post 1274650)
Actually a few of the dates don't match with the right zodiac sign. I'm looking through the dates right now and can edit this post with the correct code.

Blah.. looking into it more, the days vary a lot by where exactly you look.. :)
----------------------------------------------------

Hope this works for you! :)


P.S. - I got all the dates from one source -- Wikipedia -- so if you disagree with any of the other dates (or any of your members do) then go ahead and change them.

Thank you, it works.

Wonderful ;)

dope15gd 06-25-2007 03:04 AM

I have a strange problem now. When I make a new post it comes up with the error that it is a duplicate post, but when i return to the thread there is only the one post. It seems to go away when I disable the product so I assume it is doing something fishy. It doesn't seem to matter what style i use since even my unmodified style is giving me issues. Can you think of anything that could give me this problem?

It ended up being the thread prefix hack. for some reason it makes things a double post when an admin/supermod posts

Exitilus 06-25-2007 05:14 AM

Hmm Getting the same error when importing the script
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 665

Seems to work fine. I may look to see what causes this error *shrug* Too dang tired now to do it.

Also for those having problems importing the product. Do NOT use the "Add/Import Product" that is under Plugins and Products. Go to Manage Products, Scroll down to the bottom and click the Add/Import Products there.

If you are running vbseo you may need to add rel="novbseo" in some of the links such as the supress customization link.

goga123 06-25-2007 08:54 AM

Everything Is Good
But I Can't Post Profile Comment To Friend
And Rating Not Show Up In Profile

Plz Help Me

Exitilus 06-25-2007 01:28 PM

Have you checked individual usergroup permissions ?

foulplay 06-26-2007 11:59 AM

I counted like 5 people having this error when uploading this product:

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 665

Tested on a clean test board and got the same thing.... hmmm

rainyleaves 06-26-2007 01:31 PM

Quote:

Originally Posted by ant0nio (Post 1276883)
I counted like 5 people having this error when uploading this product:

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 665

Tested on a clean test board and got the same thing.... hmmm

I got same problem.
But works seems too fine.

Greek76 06-26-2007 06:58 PM

Question for some reason when I make a profile comment on users name my vbplaza gifts appear under in their profile. Is that happening to anyone else?

sunnycher 06-28-2007 01:40 PM

I would LOVE to use this but it seems there are so many issues with it?
And it's not being supported any more?
Is there one out there that works that is being supported?

I LOVE PVs workand would rather use this! Anyone successful in installing and using this?

cheat-master30 06-28-2007 03:14 PM

Quote:

Originally Posted by sunnycher (Post 1278432)
I would LOVE to use this but it seems there are so many issues with it?
And it's not being supported any more?
Is there one out there that works that is being supported?

I LOVE PVs workand would rather use this! Anyone successful in installing and using this?

I have been extremely successful in installing and using this, and currently run it with vBulletin 3.6.7 PL 1. No errors, everything is working well, comments and the like work perfectly.

Seriously, there are no major problems from my experience, and the only minor one is a part of the product import process which has no effect.

And I guess it is not supported...

sunnycher 06-28-2007 03:57 PM

Thank you CM!

sunnycher 06-28-2007 04:33 PM

I installed it, seems to be ok! Thank you!!!!

sunnycher 06-28-2007 05:12 PM

Where does the zodiac sign show up?

sunnycher 06-28-2007 05:39 PM

ok, how do you add a person to your friends list?
I see if you add them to your buddy list it does it? is this the only way?
Also, it says it will send out an email for friends requests, I haven't received any.

Where the friends are listed in a person 'friends request' shouldn't there be a button or something to say yes or no to the add friend request?

sunnycher 06-28-2007 06:23 PM

Nevermind, nevermind!

Although I would like for the zodiac text to not show in the post bits member block thingy.

any ideas?

EWGF 06-28-2007 07:51 PM

Succesfully installed :)


I think this is the best mod I have on my board, but I really hope someone will pick this mod up, in case vB 3.6.8 of vb 3.7 tears this mod down...

unitedpunjab 06-28-2007 08:28 PM

Quote:

Originally Posted by Greek76 (Post 1277165)
Question for some reason when I make a profile comment on users name my vbplaza gifts appear under in their profile. Is that happening to anyone else?

yes I have the exact same problem,

https://vborg.vbsupport.ru/showthrea...za#post1271956

cheat-master30 06-28-2007 09:51 PM

One of the mods I have, probably this one causes this error when trying to save group options in the Admin CP. Everything else works perfectly:

Brandon Sheley 06-28-2007 11:11 PM

has anyone else made any templates to share :)

Greek76 06-29-2007 07:55 AM

Quote:

Originally Posted by unitedpunjab (Post 1278696)

I just took that off the member info. I dont think we are going to get any help involving that lol.

unitedpunjab 06-29-2007 08:01 AM

I did the same, male members on my board were so confused when they saw kiss gifts from other guys in their profiles :p

cheat-master30 06-29-2007 04:26 PM

Got to say something:

So sorry, I made a mistake. The database error seems to be caused by the flawed Post Edit History, not this modification. Sorry for any confusion, this hack seems to be working perfectly fine.

Hollister 06-29-2007 05:29 PM

I'm getting this error when I try to import the product.

Importing Product, Please Wait...

[:]

Warning: Unknown(/hsphere/local/home/morlord/morlord.net/forum/includes/visionscripts/psionic_iprof/_install.php): failed to open stream: No such file or directory in /admincp/plugin.php(1941) : eval()'d code on line 1

Warning: Unknown(/hsphere/local/home/morlord/morlord.net/forum/includes/visionscripts/psionic_iprof/_install.php): failed to open stream: No such file or directory in /admincp/plugin.php(1941) : eval()'d code on line 1

Fatal error: (null)(): Failed opening required '/hsphere/local/home/morlord/morlord.net/forum/includes/visionscripts/psionic_iprof/_install.php' (include_path='.:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear') in /hsphere/local/home/morlord/morlord.net/forum/admincp/plugin.php(1941) : eval()'d code on line 1


All times are GMT. The time now is 04:35 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.01797 seconds
  • Memory Usage 1,896KB
  • 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
  • (4)bbcode_php_printable
  • (10)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
  • (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