Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-02-2002 Last Update: Never Installs: 54
 
No support by the author.

Hi folks!

After my server has had problems last night, so the date was incorrect, an the posts had the dateline of October, I start programming this hack, to change a bit more of the Posting informations if you are an Admin of the board.

Now you can change
1. The Userid of this Post (don't know when, but perhaps you'll need it sometimes)
2. The Threadid of the Post (if you want to take this post to another thread)
3. Date and time postet
4. IP Address saved with the Post
5. can make post uneditable for original Author/Mods/Supermods (priority level system) or even editable to the author when timelimit is over...

If you like it Please click on install Button
Screenshot

vB3 Version of this hack can be found here

Show Your Support

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

Comments
  #62  
Old 07-27-2002, 03:04 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've seen them used both ways. They do that alot with on-line quizzes and surveys.

Quote:
Originally posted by hellsatan
But isnt the point of Radio buttons to select one or the other?

Satan
Reply With Quote
  #63  
Old 07-27-2002, 03:19 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo: i won't include that, because i think such wishes are personall wishes not used by many others, but i can tell you how to do it k?

template admineditpost
after
Code:
| <input type="radio" name="editable" $editable[0] value="0">Admins
add this:
Code:
| <input type="radio" name="editable" $editable[4] value="4">Author/Supermods/Admins
then in editpost.php
find:
PHP Code:
} else if($postinfo[editable]==and !ismoderator($threadinfo[forumid],"caneditposts")) {
  
$editpriority="Moderator/Supermod/Admin";
  eval(
"standarderror(\"".gettemplate("error_editpriority")."\");");
  exit;

add this clause after the }:
PHP Code:
 else if($postinfo[editable]==and $postinfo[userid]!=$bbuserinfo[userid] and $getperms[cancontrolpanel]!=and  $getperms[ismoderator]!=1) {
  
$editpriority="Author/Supermod/Admin";
  eval(
"standarderror(\"".gettemplate("error_editpriority")."\");");
  exit;

then replace in this line:
PHP Code:
  for($i=0;$i<4;$i++) $editable[$i]=iif($postinfo[editable]==$i,"CHECKED",""); 
the $i<4 with $i<5

that should do the trick



hmm, ip-decoding?
i'll see what i can do, i have no idea how that works, i'll look into it
Reply With Quote
  #64  
Old 07-27-2002, 05:02 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have to say i found a very small bug.
It just occurs if you allow guest posting...

to correct it replace this line:
PHP Code:
  if (!isset($userid) or $userid=="" or $userid==0) { 
with this one:
PHP Code:
  if ((!isset($userid) or $userid=="" or $userid==0) and $bbuserinfo[usergroupid]==and $postinfo[userid]!=0) { 

Also i'm thinking of a funny enhancement: Make a Post editable by all Members and make it editable by guests *gg*
Editable by all members could perhaps be usefull for clanboards in a announcement thread or something like that, the other ist just to play jokes on users

are there some feature you want have included in this hack?
because i think this was the final version all other things aren't needet anymore?
Reply With Quote
  #65  
Old 07-27-2002, 05:56 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That could be kindof dangerous on a board, even as a joke. I like the hack just the way it is now.

Quote:
Originally posted by Xenon
Also i'm thinking of a funny enhancement: Make a Post editable by all Members and make it editable by guests *gg*
Editable by all members could perhaps be usefull for clanboards in a announcement thread or something like that, the other ist just to play jokes on users

are there some feature you want have included in this hack?
because i think this was the final version all other things aren't needet anymore? [/B]
Reply With Quote
  #66  
Old 07-27-2002, 06:32 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think that would be funny lol, but dangerous as Boofo said...

I can just think of one more thing :

Edit the user's Signature, and save it as their signature (either for that post, or throughout the site)

Satan
Reply With Quote
  #67  
Old 07-27-2002, 06:32 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, sir. That's why I like installing your hacks, you're one of the few authors who will go that extra mile to make your hacks personalized. Great job!

Quote:
Boofo: i won't include that, because i think such wishes are personall wishes not used by many others, but i can tell you how to do it k?
Reply With Quote
  #68  
Old 07-27-2002, 06:53 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep!

I installed it too!

Must have more hacks...Must have more hacks...

Satan
Reply With Quote
  #69  
Old 07-27-2002, 10:40 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

satan you're addictive to hack right?

@boofo: you're welcome

ok then that was the final version i think
@satan: hmm, that wouldn't affect the post-table but the usertable, so i think it shouldn't be in the editpost.php
Reply With Quote
  #70  
Old 07-27-2002, 10:57 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Xenon,

You're going to strangle me here in a minute, but it seems that no matter which radio button I pick now, it gets set at the Admin radio button for editing after I re-save the message. I followed your instruction on the add-on and double-checked everything. Sorry.
Reply With Quote
  #71  
Old 07-27-2002, 11:01 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* Xenon strangles boofo
[/high]

you were right, i made a little mistake in the template change i told you.

recheck it now, i've edited it
you must replace one little 0 with a 4
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:57 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.04562 seconds
  • Memory Usage 2,320KB
  • 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
  • (2)bbcode_code
  • (5)bbcode_php
  • (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
  • (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_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
  • postbit_imicons
  • 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