Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-21-2001 Last Update: Never Installs: 3
 
No support by the author.

THIS THREAD IS CLOSED!
Posts in here will NOT be answered

This hack has undergone many major changes since this thread was started. Consequently, most of the posts have become dated and of little use. To coincide with the latest major release (20010712), a new one has been started.

See this thread for the latest version and discussion

Show Your Support

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

Comments
  #202  
Old 03-29-2001, 08:41 PM
Guest
 
Posts: n/a
Default

Replace that line with the following:

$DB_site->query("UPDATE forum SET lastactivethread = LEFT('".addslashes(htmlspecialchars($threadinfo[title]))."',$lastactivethread_length) WHERE forumid = ".$threadinfo[forumid]);

It's the extra dot in front of the addslashes that's causing the problem.

Sorry about that. I've updated the docs.

It won't affect anyone who did an upgrade. The error wasn't there in the previous versions. Only those who have done a fresh install of 2.4 will see this error.
  #203  
Old 03-29-2001, 08:49 PM
Guest
 
Posts: n/a
Default

Quote:
Archive/email to Forum!
I wrote a script that let's you insert an archived newsgroup or mailing list into the usenet tables. I wrote it so that I could import all the messages since the newsgroup was created and so that I could feed the new messages in from two sources, the mailing list and the newsgroup. Feeding it in from the two sources, I hope will eliminate my missing posts problem for the ones that don't make it into the newsgroup.
Thanks for this Gilby. I can actually make use of this myself. I wanted to include the php.net mailing list archive into my forums. It doesn't comply with the usual usenet style mail archives so this is ideal!
  #204  
Old 03-29-2001, 09:37 PM
Guest
 
Posts: n/a
Default

In my outgoing usenet messages I use the email address at forums@britishexpats.com. This means I get a whole bunch of replies to forum users that have posted questions sent to my default email. The header actually looks like this:

fastforward <forums@britishexpats.com>

So the user is easily identifiable. Does anyone think it's worth adding something that will collect all these messages, run them through the spam filter and forward them on to the member? Or is it likely to cause members to become irate if a bit of spam leaks through?
  #205  
Old 03-29-2001, 09:47 PM
Guest
 
Posts: n/a
Default

how about forwarding them to the user's pm box with the following bit added at the top:

"This was sent to you as a reply to a newsgroup post.. we can not accepted responsibility etc..."
  #206  
Old 03-29-2001, 09:55 PM
Guest
 
Posts: n/a
Default

Chris... I thought you were dead! Where have you been? On holiday?

I never thought of using the PM box. thats not a bad idea.
  #207  
Old 03-29-2001, 09:58 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by fastforward
Does anyone think it's worth adding something that will collect all these messages, run them through the spam filter and forward them on to the member? Or is it likely to cause members to become irate if a bit of spam leaks through?
I have the email address set up to be an autoresponder to let the person know that that message was not received. Since the newsgroup that I am doing it on is also an email list, a lot of people just hit the reply all button to respond, so those really don't need to be passed on to the person it's being responded to. The autoresponder also puts in a little plug for my site and tells them to go to the site to send a PM.

Anyways, I think the best option (probably more complicated to do too ) would be to have an option in the profile on whether they want to have the email sent to them to be forwarded to an address they specify, put in their PMs, or neither.
  #208  
Old 03-29-2001, 10:05 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by fastforward

Thanks for this Gilby. I can actually make use of this myself. I wanted to include the php.net mailing list archive into my forums. It doesn't comply with the usual usenet style mail archives so this is ideal!
I'm glad it's useful for you! If you want to add it to the distribution of the usenet hack (and possibly modify it further), feel free to do so.
  #209  
Old 03-30-2001, 12:04 AM
Guest
 
Posts: n/a
Default

I'm kind of curious....what kind of a load does this impose on a server?
  #210  
Old 03-30-2001, 12:19 AM
Guest
 
Posts: n/a
Default

It really depends on how many groups you are pulling and how busy they are. On one site I have about 12 groups. When that script runs you don't even notice it. It may as well not be there. On my other site I am pulling in 70 groups. With this one the load gets to 1.0 - 1.5 as it gets near the end of the run. Most of the work is spent building that damn searchindex table! I wish it just go away! Without indexing the posts the load would not be worth talking about.
  #211  
Old 03-31-2001, 03:08 AM
Guest
 
Posts: n/a
Default

I created this Manual Insertion hack that integrates into the vB admin control panel. This hack will let you select messages that are in the que to be inserted but don't have references matching any of the existing messages and are therefore stuck in the usenet_article table. Once selecting the messages, you can do the following:
  • Delete
  • Start a new thread
  • Merge selected messages together into one thread
  • Insert post(s) into existing thread
All actions, except delete, take effect once the newnews.pl script is executed.

The installation is pretty simple, there is one SQL query that needs to be run and then two additions to to the usenet.php file. If you have any questions or find a bug, please feel free to ask.

fastforward, feel free to include this in the Usenet Gateway hack distribution or do anything else you want to with it.
Closed Thread


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 05:42 PM.


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.04839 seconds
  • Memory Usage 2,276KB
  • 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
  • (3)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_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
  • 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