vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Force Users To Define Avatars (https://vborg.vbsupport.ru/showthread.php?t=321958)

MarkFL 03-03-2016 05:38 PM

Quote:

Originally Posted by Stratis (Post 2566461)
Question, I use mod "Force Reading of PMs"

If member login in to site and has a private message at the same time with the announcement to define an avatar, we have a problem.
Define avatar mod does not let user to read PM. He can put avatar but for some reason, two members took time to guess , they keep pressing to read PM (I have a big image for that.)

Is there a way to block some scripts? maybe an option to insert what we want to exclude.
private, usercp, or what else. :p
Maybe it has problem with other forcing mods to, I did not try mod "force users to read thread"

Mark, every day members willing or not put there avatars, this changed the appearance of forum. Very nice :)

When I force a thread to be read, then a member without an avatar first sees that he must read a thread, and then when he clicks the provided link, he sees that he must define an avatar. Once he defines an avatar, he is done, but he has not actually seen the thread he was supposed to read.

I will soon investigate how to make this work with "Force Reading of PMs" as well...I will have to install it and run some tests. :)

Stratis 03-03-2016 05:55 PM

Quote:

Originally Posted by MarkFL (Post 2566469)
When I force a thread to be read, then a member without an avatar first sees that he must read a thread, and then when he clicks the provided link, he sees that he must define an avatar. Once he defines an avatar, he is done, but he has not actually seen the thread he was supposed to read.

You and me and many others will have no problem, they will insert first the avatar, we have in forum many "dummies" users that even to register is hard for them. (like me in coding) :D

They press what comes first or what they thinks that time. Any way same situation is with force PMs. Maybe their are more forcing mods out there, or other function
that I cannot remember now. If it has an option for us to exclude what we want it would be the best. neither than excluding something specific, today is PM, tomorrow maybe something else.

P.S If it is no hard to make it. Otherwise its ok as it is.

MarkFL 03-03-2016 06:50 PM

Update - Version 1.2:
  • Changed execution order of main plugin so it executes before "Force Users to Read a Thread" product.
  • Added setting to allow for chosen scripts to be excluded from the actions of this product.

Stratis 03-03-2016 07:57 PM

Yep, this makes the difference, excellent for another time :)
In my case I put this (private,usercp).


Some Scripts for non coders like me.
activity
album
blog
calendar
forumdisplay
group
member
newreply
newthread
picture
private
search
showthread
usercp
vbcms

Thank you Mark

Stratis 11-12-2016 08:45 AM

1 Attachment(s)
Mark today I log in as a test user that has no avatar, mod forces me to insert an avatar. If I press in tabs I have for forums I realized that all images at the left side don't show up next to the thread title. it is not problem of this mode, but I use this to show those images https://vborg.vbsupport.ru/showthread.php?t=270794


For some reason, until member puts an avatar all forums don't show images and instaed of it shows the X


https://vborg.vbsupport.ru/attachmen...1&d=1478947410



Any idea?

MarkFL 11-12-2016 02:45 PM

What do you mean by "If I press in tabs I have for forums?"

Stratis 11-13-2016 01:17 PM

Quote:

Originally Posted by MarkFL (Post 2578131)
What do you mean by "If I press in tabs I have for forums?"

On Navbar I have buttons from the basic forum categories. So when they press it they redirect to the specific forum, all threads there.... images are missing as I describe in previous message. :)

MarkFL 11-13-2016 01:32 PM

Okay, just so I'm clear on what's happening...

You have a test account without an avatar, and using this account you see the error message stating an avatar must be defined.

Instead of following the link given in the error message to the UserCP to define an avatar, you click a navtab which directs you to one of your forums.

You are taken to the forum, and images that should display, do not.

Is that correct?

Stratis 11-13-2016 01:38 PM

Yes that is correct, actually I have seen some users in who is "on line" that they was surfing in forums with out putting an avatar, good thing is that they cannot read threads because they get the error again. So this made me to login with test user to see when they get the error and accidently I saw this issue .

Ok its not a big deal, but thought just to tell you.

MarkFL 11-13-2016 01:41 PM

What are your excluded scripts?


All times are GMT. The time now is 06:28 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.01781 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
  • (2)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