vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   NNTP Gateway (Usenet/Newsgroups) (https://vborg.vbsupport.ru/showthread.php?t=35247)

Gilby 03-06-2003 01:43 AM

Quote:

Originally posted by Schorsch
great hack!! :bunny: some questions:

how can I leave out the signatures and user titles when posting to a group ?

edit: and how can I change the quote color ?

and when I look into a thread I can't see the poster name, always just "guest"

You'll need to edit the code and change the signature part of it to not have those variables in it.

To change the color, find in the code where it has "[color=blue]" and change those three lines to have the colors you want.

Gilby 03-06-2003 01:48 AM

Quote:

Originally posted by Marv
Couldn?t there be a way that this hack reads out the mail-adress from the database and takes that as signature ?
The real email address is not used simply because of email addresses being harvested as spam. What I do on my set up is have a unique domain for the email address used and then set up a catch all for the domain with an auto responder that gives details on how to reply to the user.

- Gilby

Gilby 03-06-2003 01:52 AM

Quote:

Originally posted by Marv
Oups..forgotten: does anybody know if this hack works with the 3.0 RC3 ?
Give it a try and let us know! :)

Did you mean 2.3 RC3? IT'd probably work with that one, but might not with 3.0 as many thing may have changed.

Chris732 03-06-2003 02:17 AM

Gilby... I must say this was a wonderful hack and I have really enjoyed it on my site...Thanks again.

Oh btw... any plans on adding a way to handle newsgroup attachments with it?

Marv 03-06-2003 02:20 AM

Quote:

Originally posted by Gilby


The real email address is not used simply because of email addresses being harvested as spam. What I do on my set up is have a unique domain for the email address used and then set up a catch all for the domain with an auto responder that gives details on how to reply to the user.

Hi Gilby,

it?s good to see you?re still alive & typing ;)

What you suggested is what I already did. You know that "The good, the bad & the ugly...?" Guess the people on our german newsservers are very familiar with that and they insist to match the standard how a ng-post should be. That?s the reason for all the flames we receive...

And this nationwide standard (uh...have I told you that I?m talking about german newsgroups, yet..?) a post has to have two things:

- a proper emailadress to reach the poster and to retrace the post back to the poster

The second one is the thing I mentioned about the signature.
If a post is delivered to a ng via a gateway there has to be an adress for technical questions or in case of abuse. That?s why I suggested the quoted signature..

Okay...I read that you?ve got other projects and your time to give support to this hack is running out.
Don?t know how to say it...but would it be very impudent to ask you if you could do these minor changes for the europeans here on board .. ? :rolleyes:

I would do it on my own - be sure - but I?m just not good in coding...umm..that means most of the time php looks to me like a bunch of celtic cuneiform script mixed with oxford english.... :alien:

Any chance you could look into it on a short moment between riding your doublewheeled unicycle und the shower ? (Btw: unicycling looks completely arduous the way you do it :) )

Thanks for stopping by !

Gardener 03-06-2003 02:52 PM

Quote:

Originally posted by Gilby


Give it a try and let us know! :)

Did you mean 2.3 RC3? IT'd probably work with that one, but might not with 3.0 as many thing may have changed.

Yes it does work with 2.3 RC3. I've got it running on a board with about 200,000 posts and it works just fine.

Duke Of Lion 03-07-2003 12:07 PM

I want to add the cronjob (automatically update news)

What is the command line on a linux server with C-Panel? Just go into the cron jobs tab and then command is simply http://www.mysite.com/forum/gateway.php ? or do i need to add cron or something

gopherhockey 03-07-2003 12:32 PM

Set up a cron job in the cron job areas of cpanel (toward the bottom I believe) - if you want them to run ever 10 minutes you may have to set up multiple jobs - at least for me, I wasn't able to do a 5,15,25 etc. in the minutes column, so I set a separate one up for 5 * * * *, 15 * * * * etc.

use this:

lynx -source http://mysite.com/forums/gateway.php?log=cron >/dev/null

Gilby 03-07-2003 02:58 PM

Quote:

Originally posted by Chris732
Oh btw... any plans on adding a way to handle newsgroup attachments with it?
It partially handles them now, just not the uuencoded ones. If you can find some php code that decodes uuencoded text, then it wouldn't be too hard to add.

gopherhockey 03-08-2003 07:51 PM

I'm struggling to keep this hack turned on in my forums. Here is the issue:

Users love the usenet forum that I have included. However, it gets hundreds of posts per day, and they don't like seeing those when they come to the system each day and click to "view new posts".

I have that *almost* fixed, but not quite.

First, I removed the forumid from the search function, so even if it shows new threads and forums since they last visited, all those won't appear when they click to "view new posts"

Next step was to not get new threads and posts to show up. I was able to do the threads part using another guys code example... however, I still haven't found a way around the posts part.

Basically I want the forum to work as usual, except that I don't want any of the posts or threads being counted by anything in the vb system or showing up in views such as this one:

Members: XX, Threads: YY, Posts: ZZ

Is this possible? Perhaps a line of code that is incrementing the post and thread count total can simply be removed?

Thanks...


All times are GMT. The time now is 04:30 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.01664 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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