vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Memberlist (https://vborg.vbsupport.ru/showthread.php?t=319321)

TheAdminMarket 07-08-2015 02:06 PM

Quote:

Originally Posted by lapiervb (Post 2549662)
Your demo still does not work.

http://www.teriakis.com/vb423/memberlist.php

sparky17 07-11-2015 03:18 PM

Everything else works but the avatars on the memberlist do not work. It fetches a URL: http://www.coldplaying.com/forum//fo...ar29957_74.gif

instead of the correct one:

http://www.coldplaying.com/forum/cus...ar29957_74.gif

What should I change so the avatar on the memberlist points to the correct path instead of adding the 'forum/' before the path?

TheAdminMarket 07-11-2015 05:07 PM

Quote:

Originally Posted by sparky17 (Post 2549957)
Everything else works but the avatars on the memberlist do not work. It fetches a URL: http://www.coldplaying.com/forum//fo...ar29957_74.gif

instead of the correct one:

http://www.coldplaying.com/forum/cus...ar29957_74.gif

What should I change so the avatar on the memberlist points to the correct path instead of adding the 'forum/' before the path?

As i can see the avatar link is wrong as it has twice /...forum//forum/....
In my code there is no hand coded link. It takes the link by the native vB function:
PHP Code:

// Avatar
$member_avatarurl fetch_avatar_url($member['userid']);
if (!
$member_avatarurl)
{
    
$member_useravatar 'memberindex/images/noavatar.png';
} else {
    
$member_useravatar $vbulletin->options['bburl'] . '/' $member_avatarurl[0];


At least tell me in which block or page the avatar does not appears.

Stratis 07-11-2015 05:51 PM

I am trying to use it in vb4.2.0
I have an issue. HTTP 500 error (memberlist.php?do=searchresults)
I see graphics but where ever I press I get HTTP 500 error.

Any clue? or it is for vb4.2.2+ Thanks any way.

TheAdminMarket 07-11-2015 06:07 PM

Quote:

Originally Posted by Stratis (Post 2549970)
I am trying to use it in vb4.2.0
I have an issue. HTTP 500 error (memberlist.php?do=searchresults)
I see graphics but where ever I press I get HTTP 500 error.


Any clue? or it is for vb4.2.2+ Thanks any way.

I've coded in 4.2.2 but I don't remember to have something special to cause errors. Is this only on search results page?
What PHP version are you using?

sparky17 07-11-2015 07:15 PM

Quote:

Originally Posted by NickTheGreek (Post 2549966)
At least tell me in which block or page the avatar does not appears.

http://www.coldplaying.com/forum/memberlist.php Via this page

TheAdminMarket 07-12-2015 03:27 AM

Quote:

Originally Posted by sparky17 (Post 2549973)

Seems that something is wrong in your settings for site URL. Maybe avatars work in other places but this is because they don't use full url but relevant url.

Do a test. Open file memberlist.php and change line 110:
From:
Code:

$member_useravatar = $vbulletin->options['bburl'] . '/' . $member_avatarurl[0];
To:
Code:

$member_useravatar = $member_avatarurl[0];
Then save and uploade the file and check the block "Our Administrators" in homepage. It's also a good idea to clear your browser's cache before.

bosanci28 07-12-2015 03:34 AM

Hello Chris,

This is off topic, can you tell me when and if you going to release that "Media Gallery" mod? I could not contact you at your forum,and sent a pm here , but no reply back from you.
Thanks.

ForceHSS 07-12-2015 03:42 AM

Quote:

Originally Posted by sparky17 (Post 2549973)

You could remove the Extra Tabs plugin you have that is not needed for 4.2.2 and disable all plugins apart from this one to see if that is a problem might help to see if there is a plugin causing a problem also check if all plugins are up to date

Stratis 07-12-2015 05:04 AM

Quote:

Originally Posted by NickTheGreek (Post 2549971)
I've coded in 4.2.2 but I don't remember to have something special to cause errors. Is this only on search results page?
What PHP version are you using?

Basic I see only:
Meet Our Members... bla bla actually how many members in every usergroup
When I press to every link that shows gives an error 500
memberlist.php?do=browse&groupid=5
memberlist.php?do=browse&groupid=6
memberlist.php?do=browse&groupid=2

All errors in every usergroup, my php is 5.2.17
When I revert to mine memberlist.php, all is fine as it was.


All times are GMT. The time now is 05:56 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.01643 seconds
  • Memory Usage 1,749KB
  • 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
  • (1)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)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