vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Guests First Post Only (https://vborg.vbsupport.ru/showthread.php?t=184717)

westward 07-31-2008 04:44 PM

the former is 52, and the latter is 53

Dismounted 08-01-2008 06:54 AM

Use this product XML instead of the normal one (note that it will override any forum settings set for the modification).

westward 08-04-2008 09:08 PM

Thanks, I'll give it a try - Should I un-install the original first?

Dismounted 08-05-2008 12:01 PM

No, I don't think you will have to.

westward 08-05-2008 03:24 PM

The mod works as long as the user's primary usergroup is set, but not if the user is in the additional usergroup setting.

I looked at the xml code to see if I could make the modification to include users that are in the additional usergroup setting - but am very new to vb code - could you point me in the right direction?

thanks,
westward

Dismounted 08-06-2008 06:02 AM

It should work for both - I don't see any reason why it wouldn't.

UKBusinessLive 09-09-2008 11:38 PM

Excellent Mod, and soooooo easy to install.

A Credit to you Sir :)

Thanks

john102774 09-10-2008 05:05 AM

This is indeed one of my favorite Mod.. Great stuff! :)

AmexBlackG5 10-15-2008 11:46 PM

Great Mod :)

Traxdata 10-22-2008 08:57 AM

Quote:

Description:
This mod only shows the first post of a thread to guests. After it displays the first post, it then displays a message telling the guest to login or register.

also possible for some usergroups and not for guests only?
thank you

Dismounted 10-22-2008 10:45 AM

Nearly anything is possible ;). You'll have to edit the plugins yourself as it is not default functionality and is not intended to be.

mechanist 10-22-2008 11:56 AM

Excellent Add-On
Thank you !

Installed without any Problems ! :)

JonnyC1802 11-10-2008 08:27 PM

Quote:

Originally Posted by westward (Post 1582656)
Ok, so I have everything installed. As per this request - what should I be looking for so that only paid subscribers can view the entire thread - and only non paid subscribers can view the first post.

Thanks!

Great MOD, but I have the same problem as above

I need the subscribed users (usergroup 9) to be able to see the full posts in forums 6 ,7, 8 and 9 but registered users only see the 1st post

Please can you point me in the right direction as to what i need to alter as I may need to add other forums to the above list

Thanks in advance

Dismounted 11-11-2008 03:31 AM

You'll need to edit most of the plugins for the product. Change the guest checks into usergroup checks.

JonnyC1802 11-11-2008 09:00 PM

Quote:

Originally Posted by Dismounted (Post 1663317)
You'll need to edit most of the plugins for the product. Change the guest checks into usergroup checks.

Thanks for the reply

I understand how to edit the plugins for the products, but am unsure how you mean to change the guest checks into usergroup checks, please could you explain this

many thanks

Jon

Dismounted 11-12-2008 07:03 AM

Change the conditionals that check if a user is a guest into one for usergroups...

JonnyC1802 11-12-2008 02:32 PM

Thanks for the reply

I changed in the product xml file every entry of

$show['guest']

to

"is_member_of($bbuserinfo,1,2,3,4,8)"

I then reimported the product

but now even subscribed users (9) or Admins (6) cant see any replies

Have I replaced one somewhere I shouldnt ???

any help is greatly appreciated

Thanks

ahuf 11-13-2008 05:53 AM

I recently installed 3.7.4 and then found this mod and it got me very interested. However everything works to plan as far as the install. but then when I logout myself and try to see if it worked. it gives me this message
Quote:

There are no posts in this forum
.

could it be vb 3.7.4?

Thank you

and great mod idea

Dismounted 11-14-2008 03:17 AM

I will look into it as time permits. However, I have not seen anyone else report this problem. Try disabling any modifications you have running.

Corneeee 11-20-2008 08:24 PM

Installed

benstillman 02-03-2009 07:43 PM

I get this error when the mod is enabled:

Code:

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
                      , '' AS field6, '' AS field7, '' AS field8, '' AS field9, '' AS field12
                      , IF(SUM(photoplog_fileuploads.moderate) > 0 AND 0 = 0,COUNT(photoplog_fileuploads.moderate) - SUM(photoplog_fileuploads.moderate),COUNT(photoplog_fileuploads.moderate)) AS photoplog_filecount
              FROM vbb_post AS post
              LEFT JOIN vbb_user AS user ON(user.userid = post.userid)
              LEFT JOIN vbb_userfield AS userfield ON(userfield.userid = user.userid)
              LEFT JOIN vbb_usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
              LEFT JOIN vbb_icon AS icon ON(icon.iconid = post.iconid)
              LEFT JOIN vbb_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vbb_customavatar AS customavatar ON(customavatar.userid = user.userid)


              LEFT JOIN vbb_editlog AS editlog ON(editlog.postid = post.postid)
              LEFT JOIN vbb_postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 5 AND postparsed.languageid = 1)
              LEFT JOIN vbb_sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 5 AND sigparsed.languageid = 1)
              LEFT JOIN vbb_sigpic AS sigpic ON(sigpic.userid = post.userid)
                      LEFT JOIN photoplog_fileuploads AS photoplog_fileuploads ON(photoplog_fileuploads.userid = user.userid)
              WHERE post.postid = 134199
              ORDER BY post.dateline;

MySQL Error  : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause

I used this mod on 3.6 and loved it. Haven't been able to get it working on 3.7. I've removed the template edits, removed the xml file, etc. No avail. Anybody have a clue what's going on?

Dismounted 02-04-2009 05:21 AM

That error does not seem to be caused by this modifications. Judging by the error, it looks like it is caused by PhotoPlog.

benstillman 02-04-2009 01:44 PM

Quote:

Originally Posted by Dismounted (Post 1733844)
That error does not seem to be caused by this modifications. Judging by the error, it looks like it is caused by PhotoPlog.

Odd that photoplog is (and has been for a while) disabled. This error only occurs when I enable this mod. As soon as I disable it, the error goes ago. Also, the error only appears for guests. For logged in users the page loads fine without error.

benstillman 02-04-2009 01:47 PM

Weird as hell.....

I went ahead and tried it again just now and it worked. I'll keep an eye on it and see if it happens again. Weird.

drsli 02-27-2009 04:45 PM

Will this work on vb3.8?

Dismounted 02-28-2009 12:30 PM

Most likely.

drsli 02-28-2009 03:17 PM

Thanks for the assessment. I installed it onto my vb3.81-live-forum and as far as I can see, it works flawlessly! :)

210665 03-13-2010 05:34 PM

Hello

There is also this addon for vb 4.02 or there is nothing planned.
Would something like looking for my board, maybe you can help me.
Thanks

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxx

hallo

gibt es dieses addon auch für das vb 4.02 oder ist da nichts geplant.
Würde so etwas suchen für mein Board, vielleicht könnt ihr mir weiterhelfen.

Danke

KURTZ 04-27-2010 11:23 AM

hi Hanson, any upgrade for the 'suite'?

Dismounted 04-29-2010 06:12 AM

Real Soon Now (tm)

At least I hope I can do it in that timeframe... :p

Wilfred1 06-23-2010 01:14 AM

Is there a 4.0.4 version of this yet mate? I can't go live as my users don't want all their posts to go public so this mod is the only one now holding me back

Bro_Joey_Gowdy 08-16-2010 12:46 AM

Installed on vB3.8.0 - appears to work properly.

Curious, on the first post why did it align all text to the left ?

http://www.joeygowdy.net/forum/showt...1&referrerid=1

res6cue 12-03-2010 10:53 AM

I need this mod so badly for vB4. There's a mod that claims to do what yours does, but it has serious shortcomings and gave a false sense of security. I generally don't like to beg, but I'm going to have to make an exception here and beg you to please recode this for vB4...thanks mate!

mholtum 12-06-2010 10:17 PM

Works great thank you..

Davey-UK 01-03-2011 07:52 AM

Any news on this for VB4.1?
I would have a go myself, but there is a little bit too much altering of database tables for me to tackle. :D

Its a great mod, and hopefully it will be updated. ????

adom7 01-29-2012 09:29 AM

I guess, no plan on this great mod for future (vb 4.10)

Bro_Joey_Gowdy 11-21-2012 02:38 AM

Seems to be working fine for 4.0.0 PL8 at the moment.

Bro_Joey_Gowdy 11-21-2012 12:10 PM

Just noticed a bug that only appears when not logged in:

https://vborg.vbsupport.ru/external/2012/11/14.png

https://vborg.vbsupport.ru/external/2012/11/15.png


All times are GMT. The time now is 01:05 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.01476 seconds
  • Memory Usage 1,809KB
  • 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_code_printable
  • (5)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
  • (38)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