Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
Details »»

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

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

I'd like to have certain memebers of my forum, Admins, moderators and SuperModerators, be able to post news to the front page of my site, and have a 'comments' link at the bottom of the summary that links through to a new thread that was generated when the news article was posted. Then other members of the site can comment on the story from within the regular vB system.

Stallion and others talk about it in the Suggestions forum: http://www.vbulletin.com/forum/showt...?threadid=2746 and he says it would be a pretty easy hack to do.

One other thing about the initial news post. I'd like it to show a small mugshot of the news poster (here's mine: ) much like the ones used at http://www.highervoltage.net.

Also, since my forum is based on individual games, it would be cool if the news thread was created in the corresponding forum. Quake news goes to the Quake forum and such. Plus, a special icon, color or title should distinguish the news thread from the regular threads in the destination forum.

What do you think?

-Nathan

Show Your Support

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

Comments
  #12  
Old 09-02-2000, 03:09 AM
Guest
 
Posts: n/a
Default

thanks, DLed
Reply With Quote
  #13  
Old 09-02-2000, 05:18 AM
Guest
 
Posts: n/a
Default

i have several pages set up with several cgi scripts already, converting them over to php pages would be a major pain, don't supose there's a simple cgi script that will read a particular forum and i could code the rest out to look and act like slashdot is there?
Reply With Quote
  #14  
Old 09-02-2000, 06:54 AM
Guest
 
Posts: n/a
Default

arg.. the weblog hack zip seems to be corrupted I've downloaded it several times and its corrupted every time...
Reply With Quote
  #15  
Old 09-02-2000, 02:11 PM
Guest
 
Posts: n/a
Default

Me 2. Corrupted zip.
Reply With Quote
  #16  
Old 09-02-2000, 02:31 PM
Guest
 
Posts: n/a
Default

Yup, same here.

Can someone point me to the vBulletin code that's used to verify a person's username and pasword, and perhaps the code for the form as well? With these I should probably be able to handle adding the ability for little SlashDot-style comments on my own.
Reply With Quote
  #17  
Old 09-02-2000, 02:46 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by TWTCommish
Can someone point me to the vBulletin code that's used to verify a person's username and pasword, and perhaps the code for the form as well?
require("global.php"); and then call the verifyusername function:

$userid=verifyusername($username,$password);
Reply With Quote
  #18  
Old 09-02-2000, 02:53 PM
Guest
 
Posts: n/a
Default

Isn't there more to it than that? I thought there was something like a SELECT command to pull the username/password from the DB.
Reply With Quote
  #19  
Old 09-02-2000, 03:45 PM
Guest
 
Posts: n/a
Default

It's all done in that function - you have to use a require on global.php to use it though.
Reply With Quote
  #20  
Old 09-02-2000, 03:46 PM
Guest
 
Posts: n/a
Default

same here.... can you re-up it?

Much appreciated!
Reply With Quote
  #21  
Old 09-02-2000, 06:51 PM
Guest
 
Posts: n/a
Default

is there a cgi version of this? or is there an easy way to exec cgi scripts in a php document?
Reply With Quote
Reply

Thread Tools

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 08:50 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.06504 seconds
  • Memory Usage 2,268KB
  • 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_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
  • (3)pagenav_pagelink
  • (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