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
  #662  
Old 07-09-2001, 06:48 PM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
  #663  
Old 07-09-2001, 07:00 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #664  
Old 07-09-2001, 07:38 PM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
  #665  
Old 07-09-2001, 09:32 PM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #666  
Old 07-09-2001, 09:48 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #667  
Old 07-09-2001, 10:00 PM
dwh's Avatar
dwh dwh is offline
 
Join Date: Feb 2002
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
  #668  
Old 07-09-2001, 10:18 PM
fastforward fastforward is offline
 
Join Date: Oct 2001
Location: NC, USA
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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.
  #669  
Old 07-10-2001, 12:13 PM
george_proost george_proost is offline
 
Join Date: Nov 2001
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
...
...
  #670  
Old 07-10-2001, 12:35 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great news.
Thanks Fastforward

3 cheers to the orphan Eliminator

Joey
  #671  
Old 07-10-2001, 04:06 PM
george_proost george_proost is offline
 
Join Date: Nov 2001
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
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 03:10 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.05159 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
  • (1)bbcode_code
  • (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
  • (10)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete