View Single Post
  #85  
Old 05-22-2004, 01:30 AM
xb_ xb_ is offline
 
Join Date: Apr 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lierduh
Thanks, the empty attachments are the PGP signature. I will deal with this in the new version. (I should have time to work on the script tonight, and hopefuly tomorrow.) Which version of nntp_groups.php do you use that you had the TABLE_PREFIX problem? please check the cvs version at the top of the script. I went through the latest script, but could not find any missed "TABLE_PREFIX". The default user ID is 0 for guest. What did the error say when you used 0 instead of another userid?

This is my version of nntp_groups.php:
$Id: nntp_groups.php,v 1.3 2004/05/17 09:14:31 ns Exp $
[high]* xb_ hits himself on his head.
[/high]
just now i see that there is already a newer version. 1.6. Wow +0.3 version updates in 2 days...
Thanks for resolving this and sorry for the inconvinience.


I don't seem to get an error, and the posts are inserted. The problem i had with uid 0 is that the posts don't get displayed on the forumdisplay.php script. My guess would be that this is because of the permission settings on that specific forum (guests have no access at all there, while the valid account has).
If i opened up the showthread.php script with parameters, i could see them just fine, but this could also have been due to my administrator access).
I also think that the posts are correctly inserted, only they would appear when i edit the userid into a valid one in phpmyadmin. I thought its only in the threads table, but not entirelly sure of this atm; i made all the uid 0s' a valid one in gateway.php, while i was at it.

While we thought about this over a few posts, i'll try setting guests allowing to post new threads in that forum, and allowing to reply, while i'll upload the newer version of your scripts, for testing purpose. I'll check up on it when i wake up
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02851 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete