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)
-   -   Usenet gateway (https://vborg.vbsupport.ru/showthread.php?t=7100)

dwh 07-09-2001 06:48 PM

That helps a bit, and I'll live w/o learning the regexes :)

What I still find confusing is the following options:

Delete vs Edit, plus select button?? Delete what? Edit what?
-----

then lower

Add vs Update, plus submit button.

Are those 2 separate forms, hence separate submit buttons? If so an <HR> tag would be nice.

----
BTW, this is only meant as constructive suggestions but you went WAY above the call of duty, how you say?

fastforward 07-09-2001 07:00 PM

Quote:

Originally posted by dwh
That helps a bit, and I'll live w/o learning the regexes :)

What I still find confusing is the following options:

Delete vs Edit, plus select button?? Delete what? Edit what?
-----

then lower

Add vs Update, plus submit button.

Are those 2 separate forms, hence separate submit buttons? If so an <HR> tag would be nice.

----
BTW, this is only meant as constructive suggestions but you went WAY above the call of duty, how you say?

The [ Select ] button places the higlighted line into the edit fields when the 'edit' radio button is selected, or deletes the highlighted line when the 'delete' radio button is selected.

The submit works the same way, but you get to chose whether you want to add whatever's in the edit boxes as a new record, or edit the existing one.

I tried it with seperate forms and it was a lot more confusing, trust me. Although they are seperate forms, once the first [select] button is pressed, the other button comes into play for the pre-filled edit fields on the same form. Besides, the usenet.php file is an undocumented mess and there's no way I'm going to back to re-write it :) . I will fix the [Review/Insert Orphans] option though... one day.

dwh 07-09-2001 07:38 PM

well my custom usenet template still doesn't work, maybe I'll try deleting it and redoing it. But I forgot to write down which templates need modifying. I think it was postbits and also newreply for the quoting....

In the meantime, it looks like when you put in a smilie, the post shows up twice, once with the smilie translated and once with the smilie as plain text...

dwh 07-09-2001 09:32 PM

OK, fixed the template problem. Turns out even if you don't allow users to choose their customer templates, when choosing a template you still have to click on "override user templates for this forum".

One more technical question. I'll give an example posting.

This is vb style linear forum
---
1. Post 1 = test1.
2. Reply1 to Post1 = hello.
3. Reply2 to Post1 = hello2.
4. Reply1 to Reply2 = hello3.
5. Reply1 to Reply1 = hello4.

In a threaded forum it would appear thusly:
---
1. Post 1 = test1.
2. Reply1 to Post1 = hello.
5. Reply1 to Reply1 = hello4.
3. Reply2 to Post1 = hello2.
4. Reply1 to Reply2 = hello3.

Since usenet is threaded, it should up the second way, right? And this seems to be the case. But not when I'm sending a reply via my forum.

Do I need to modify the postbit quote button, or the "Reply" button to point to something other than the first topic? Oh, while writing this I realize that there needs to be a reply button on each topic for this to work right, so I guess it won't. Never mind.

fastforward 07-09-2001 09:48 PM

Quote:

Originally posted by dwh
OK, fixed the template problem. Turns out even if you don't allow users to choose their customer templates, when choosing a template you still have to click on "override user templates for this forum".

One more technical question. I'll give an example posting.

This is vb style linear forum
---
1. Post 1 = test1.
2. Reply1 to Post1 = hello.
3. Reply2 to Post1 = hello2.
4. Reply1 to Reply2 = hello3.
5. Reply1 to Reply1 = hello4.

In a threaded forum it would appear thusly:
---
1. Post 1 = test1.
2. Reply1 to Post1 = hello.
5. Reply1 to Reply1 = hello4.
3. Reply2 to Post1 = hello2.
4. Reply1 to Reply2 = hello3.


Since usenet is threaded, it should up the second way, right? And this seems to be the case. But not when I'm sending a reply via my forum.

Do I need to modify the postbit quote button, or the "Reply" button to point to something other than the first topic? Oh, while writing this I realize that there needs to be a reply button on each topic for this to work right, so I guess it won't. Never mind.

Assuming you added the $postid hidden variable to the template, that's all you have to do.

The behaviour you are seeing shouldn't happen very frequently in normal use. My guess is that you posted a bund of replies between usenet pulls. Remember, the msgid is not allocated until the post reaches usenet. Then we have to wait for the next pull to actually find out what it was allocated. This can cause slight ordering problems if a lot of local posts are made in succession in the same usenet forum.

dwh 07-09-2001 10:00 PM

interesting! I see, ok....

I'm almost done but what's missing still is that outgoing messages don't always go out. So if I get you right, it's waiting for the message id to be assigned and only then will it go out? Cool!

fastforward 07-09-2001 10:18 PM

Quote:

Originally posted by dwh
interesting! I see, ok....

I'm almost done but what's missing still is that outgoing messages don't always go out. So if I get you right, it's waiting for the message id to be assigned and only then will it go out? Cool!

Yep... that's exactly right.

Now you've got it all installed and working, I'm about to release a new version, so you'll have to do it all again :D

I'll have it ready tomorrow. Some changes are:
the support for moderation
a new module is used to handle email addresses (Mail::Address) Replies are handled differently. It is now far less strict about having an immediate prior message number before being inserted. It should get rid of the large number of orhans.
A lot of other little changes aswell.

george_proost 07-10-2001 12:13 PM

when checking the words table this message appears in the log.


DBD::mysql::db do failed: Duplicate entry 'cheesehead!' for key 2 at www/admin/newnews.pl line 628.


can it be suppressed ?

================================
Also I seem to be getting a loop
Code:

...
...
loading 1 replies...
loading 1 replies...
loading 1 replies...
...
...


webhost 07-10-2001 12:35 PM

Great news.
Thanks Fastforward

3 cheers to the orphan Eliminator

Joey

george_proost 07-10-2001 04:06 PM

when does it appeear ?

hack on a hack:

I duplicated the newposts() code in search.php called it
newpostsusenet() change the SQL select and bingo ..

You can then offer new forum posts and new USENET posts search links.

Can this be included in the package please?


All times are GMT. The time now is 03: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.03486 seconds
  • Memory Usage 1,751KB
  • 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
  • (3)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