vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Default Avatar (https://vborg.vbsupport.ru/showthread.php?t=223078)

yamahapaul 11-16-2009 06:42 PM

Quote:

Originally Posted by imported_silkroad (Post 1898536)
This would be a much more useful mod if we could specify default avatars for various user groups. One default avatar for the entire site is not very useful, IMHO.

I prefer this myself, as it encourages users to be individual, unique and to personalise their avatar..... just an opinion..:o

LB1981 11-16-2009 07:04 PM

Thanks for this mod

Palace55 11-24-2009 03:50 PM

Thanks for this modification, it has been installed on my forums! :)

netcommander 12-07-2009 01:26 PM

Hello
i've used this hack and i've uninstall via admincp and i've upgrade 4.0 and i see this error
Quote:

Database error in vBulletin 4.0.0 Beta 5:

Invalid SQL:

SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,


editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason, editlog.hashistory,
postparsed.pagetext_html, postparsed.hasimages,
sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid

,blog_user.entries
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)


LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 19 AND postparsed.languageid = 11)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 19 AND sigparsed.languageid = 11)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
LEFT JOIN blog_user AS blog_user ON (blog_user.bloguserid = post.userid)
WHERE post.postid IN ()
ORDER BY post.dateline;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
ORDER BY post.dateline' at line 29
Error Number : 1064
Request Date : Sunday, December 6th 2009 @ 09:40:16 PM
Error Date : Sunday, December 6th 2009 @ 09:40:16 PM
Script : http://www.xxxxx.com/forum/showthrea...-yardym-fx5500
Referrer :
IP Address : 66.249.xx.xx
Username :Guest
Classname : vB_Database
MySQL Version :
how can I fix this problem

Link14716 12-07-2009 02:35 PM

Quote:

Originally Posted by netcommander (Post 1926767)
Hello
i've used this hack and i've uninstall via admincp and i've upgrade 4.0 and i see this error

how can I fix this problem

This hack could not cause that error. I haven't seen that error before.

If you uninstalled it, it certainly isn't running anymore, and it makes no database changes. Furthermore, even if you kept it installed, it works just the same on vB4 as it does on vB3.

I don't know the cause of your error or how to resolve it, only that it isn't caused by this mod.

Zachery 12-07-2009 11:48 PM

Taht error message is from a thread that has no data. You've run impex.

netcommander 12-08-2009 08:05 AM

hmm how can fix this error Zachery ?
what can I do with impex ?
Thanks for all answer

SİMAR 12-16-2009 01:00 PM

thanks man

carolc 01-30-2010 10:11 PM

This works very nicely, thanks.

Is it possible for you to get this to work with the PhotoPost Gallery? If not, can you PM me an example of the conditional statements you used and I can see if I can figure out something similar to add to my gallery?

Thanks

xDazedx 02-03-2010 04:23 PM

Thanks for the great Mod


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