Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Details »»

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

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

hello guys i just came up with this crazy idea..
i think when someone is able to make it lots of ppl will be happy with it
i only dont know if this is possible in php but we'll see here's the idea:

- when in a forum with id nr 4,5,6 (for example) a thread is being posted there will be a message displayed like:
- new thread! [THREAD TITLE] posted by [NICKNAME] in [FORUM NAME]

i hope u guys know what i mean?
thnx in advance and thnx for reading

Show Your Support

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

Comments
  #2  
Old 09-21-2001, 06:52 AM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Next time please create your request in the correct forum.

Please put your valid customer information in your user profile for further support.
Reply With Quote
  #3  
Old 09-21-2001, 06:53 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This isnt hard at all.

someone wrote a phpIRC abstraction layer.

However, i dont know why you would bother.

(ps, there are lots of bugs in the irc layer, as in, it will loop endlessly whenever anyone sets +v/+o modes in the channel while the bot is there.
Reply With Quote
  #4  
Old 09-21-2001, 07:35 AM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack would actually be quite difficult, as a server as alot of ports blocked with the firewall, so you wouldnt be able to open a socket to the mIRC. The only solution i see is a timer that checks the contents of a file.

Code:
on *:SOCKOPEN:forumlist: {
  sockwrite -n $sockname GET /lastest.php?forumid=1 HTTP/1.0
  sockwrite -n $sockname Accept: */*
  sockwrite -n $sockname User-Agent: mIRC
  sockwrite -n $sockname Host: forums.domain.com
  sockwrite -n $sockname $crlf
}

on *:SOCKREAD:forumlist: {
  :read
  sockread %tmp
  tokenize 32 %tmp
  if ($sockbr) {
    if (%tmp != $null) { /write forums.txt %tmp }
    goto read
  }
docheck
}

alias docheck {
var %ltime = $read(forums.txt , 1)
if (%ltime < ($ctime - 60)) {
  msg #channel A new post has been posted by $read(forums.txt, 2) called $read(forums.txt, 3)
}
}

docheck {
  /timer69 60 0 /sockopen forumlist forums.domain.com 80
}
this would do for the miRC side of stuff, I will try and do the php stuff a bit later.
Reply With Quote
  #5  
Old 09-21-2001, 07:56 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually PPN, there is a MUCH simpler version.

However, until this guy enters his licence, im not going to bother look it up again.

Reply With Quote
  #6  
Old 09-21-2001, 01:55 PM
Raptor Raptor is offline
 
Join Date: Nov 2001
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i'll request this hack - my license details are clear to see
Reply With Quote
  #7  
Old 09-21-2001, 10:38 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Raptor
ok i'll request this hack - my license details are clear to see
This brings up a very important point about the license info.

A) We can't see it unless we're mods or admins! Well damn, I guess we don't know if he's got a license or not

B) Even if we support someone with a license, others without licenses may benefit from it.
Reply With Quote
  #8  
Old 04-29-2002, 02:13 AM
ForKmaN's Avatar
ForKmaN ForKmaN is offline
 
Join Date: Jan 2002
Location: Australia
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which is why the hack forums should be only available to the members

I think I got my license info entered..how do I check?
Reply With Quote
  #9  
Old 04-29-2002, 04:20 AM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by ForKmaN
Which is why the hack forums should be only available to the members

I think I got my license info entered..how do I check?
Reply With Quote
  #10  
Old 05-01-2002, 03:56 PM
Demascus's Avatar
Demascus Demascus is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump
Reply With Quote
 


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 10: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.04409 seconds
  • Memory Usage 2,287KB
  • Queries Executed 24 (?)
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
  • (1)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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