vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How Do You Add user Avatar image on homepage WGO box (https://vborg.vbsupport.ru/showthread.php?t=285649)

Sarteck 07-20-2012 05:15 AM

X3 X3 X3

Yah got me wrong. That last post of mine, it wasn't additional plugins you'd have to make, it was the ones you already made, just modified slightly. It looks like (from that error) that you went ahead and did it twice, heh.

Gabe505 07-20-2012 05:21 AM

So just replace with the new code and fill in the options? I got plugin happy, see what you did to me!

Sarteck 07-20-2012 05:26 PM

Yup. XD I take it no more problems, then?

(Sorry, got distracted by vidya games, then went to sleep.)

Gabe505 07-21-2012 01:04 AM

I crashed out too. i have to add the new changes listed above and i will report back.

Gabe505 07-25-2012 01:40 AM

Update: I started fresh by disabling the first two plugins and created the two new plugins listed above here.

It works, but when I change
Quote:

$display_name_if_no_avatar = true; // Change to false if you do NOT want names appearing
to "false" it breaks the board and gives the following error:
Quote:

Fatal error: Cannot break/continue 1 level in /home/siccness/public_html/vb/forum.php(540) : eval()'d code on line 8

Sarteck 07-25-2012 05:38 AM

My bad. Should be continue 2;

XD

Just tested it out on my forum and it works.

--------------- Added [DATE]1343205372[/DATE] at [TIME]1343205372[/TIME] ---------------

Hmm. Strike that, it's now NOT working. :hmm: Wonder why. Lemme look into it.

--------------- Added [DATE]1343207433[/DATE] at [TIME]1343207433[/TIME] ---------------

Aaaaand, done.

Seems that we cannot "continue" inside a eval()'d statement. ^^; My bad for not realizing that. But TIMTOWTDI!

It's now fully functional. Delete that crap I gave you earlier and just install the Modification. :)

https://vborg.vbsupport.ru/showthread.php?t=285931

There ya go. :D

Gabe505 07-28-2012 09:41 PM

Installed! Great job on this @Sarteck! What's the best way to style these avatars? I also don't want to have the comma in between the avatars, do you know how I can remove those without breaking anything? lol

Sarteck 07-29-2012 12:29 AM

Quote:

Originally Posted by B!tCH PLeAsE! (Post 2352209)
Installed! Great job on this @Sarteck! What's the best way to style these avatars? I also don't want to have the comma in between the avatars, do you know how I can remove those without breaking anything? lol

Hmm. I'll release the option for it on my next plugin update, but you could just add the line in your "[Display]" PHP code:
PHP Code:

$loggedin['comma'] = ''

I think so, anyhow.


All times are GMT. The time now is 03:03 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.00974 seconds
  • Memory Usage 1,730KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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