Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Guests First Post Only Details »»
Guests First Post Only
Version: 1.6, by Dismounted Dismounted is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.x Rating:
Released: 12-28-2006 Last Update: 07-08-2008 Installs: 134
DB Changes Uses Plugins
 
No support by the author.

Guests First Post Only

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.

Installation:
All the installation information is in the package.

Changes:
2 Templates
12 Plugins
4 Phrases

Other Versions:
Guests First Post Only for 3.7 - https://vborg.vbsupport.ru/showthread.php?t=184717

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #142  
Old 07-08-2007, 07:34 PM
jasculs jasculs is offline
 
Join Date: Jun 2007
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a custom profile using the Interactive Profiles Mod and when I install this mod it makes a database error when you click on a users profile. It is definitely this mod that is conflicting with it because when I disable your mod the profiles show up just fine without the database errors. Here is the error I'm getting:

Code:
Database error in vBulletin 3.6.7:

Invalid SQL:
SELECT gfpoforumoptions FROM forum WHERE forumid =;

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 '' at line 1
Error Number : 1064
Date         : Sunday, July 8th 2007 @ 03:31:11 PM
Script       : http://www.mysite.com/forums/member.php?find=lastposter&f=13
Referrer     : http://www.mysite.com/forums/index.php
IP Address   : xx.xxx.xxx.xx
Username     : MyUserName
Classname    : vb_database
Help fixing this would be great as I could really use this mod that you are offering here.

My profile is using these two mods also:

vS - Interactive Profiles

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

MySpace Profile Re-Write PRO 1.0.0

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

Thank you for any help
Reply With Quote
  #143  
Old 07-09-2007, 05:39 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll have a look.

EDIT: Create a plugin at the hook: 'profile_start' and set the Execution Order to 1. Enter this for the PHP code.
PHP Code:
$isnotpost 1
Reply With Quote
  #144  
Old 07-09-2007, 12:12 PM
jasculs jasculs is offline
 
Join Date: Jun 2007
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
I'll have a look.

EDIT: Create a plugin at the hook: 'profile_start' and set the Execution Order to 1. Enter this for the PHP code.
PHP Code:
$isnotpost 1
Ok will I did that and the same problem is happening, however it isn't happening with all of the profiles I try to visit some profiles work and some don't. It doesn't seem to have a pattern either as far as which ones work an which ones don't
Reply With Quote
  #145  
Old 07-10-2007, 05:41 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, weird. Are you sure there's no pattern?
Reply With Quote
  #146  
Old 07-10-2007, 05:56 AM
jasculs jasculs is offline
 
Join Date: Jun 2007
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately I can't notice any type of pattern. People from different usergroups are getting the errors while others are not. Also I was checking the username numbers and there isn't a pattern. It is pretty weird. I was trying to find it there was a pattern or not but I couldn't. I could really use this mod too.
Reply With Quote
  #147  
Old 07-11-2007, 07:51 PM
quiklink quiklink is offline
 
Join Date: Jun 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is your problem eurofunny:

Code:
<if condition="$memid == 1 || $memid == 2"></if>
you are closing off the very first if statement (line 2 in your postbit template)

Now I am having the same problem with the mod not working. I have repeatedly checked my open and closing IF statements. I have 53 opening and 53 closing. Yet it won't work.
Reply With Quote
  #148  
Old 07-11-2007, 08:14 PM
quiklink quiklink is offline
 
Join Date: Jun 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ever have one of those days when your brain just doesn't work? Disregard my last post saying it wouldn't work...It helps if you actually enable the mod for the forum you want it to work for...DOH!
Reply With Quote
  #149  
Old 07-11-2007, 08:17 PM
nymyth nymyth is offline
 
Join Date: Jun 2002
Location: New York
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^have you enabled this inside of each individual forum??
Reply With Quote
  #150  
Old 07-11-2007, 08:42 PM
quiklink quiklink is offline
 
Join Date: Jun 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nymyth View Post
^^have you enabled this inside of each individual forum??
That's what I was saying I forgot to do until my brain quit being on strike

All is working fine now. Great mod! Hopefully this will get those members who don't bother to log in to do so now.
Reply With Quote
  #151  
Old 07-12-2007, 02:29 AM
nymyth nymyth is offline
 
Join Date: Jun 2002
Location: New York
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah I totally missed that post...lol....good to see you got it working...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:53 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04730 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete