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
  #142  
Old 10-13-2003, 08:11 PM
TeH Z0mB1E TeH Z0mB1E is offline
 
Join Date: Aug 2003
Location: AFT Servers
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

help me please, when i set it so that only mods/super mods/admins can edit posts and save it, it reverts back to author/mods/super mods/admins. i dont think ive got this line of code either :

PHP Code:
for($i=0;$i<5;$i++) $editable[$i]=iif($postinfo[editable]==$i,"CHECKED",""); 
at least i dont think ive got it, ive looked in editpost.php and the adminedit template.
where is it supposed to be?
Reply With Quote
  #143  
Old 10-13-2003, 09:33 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if this line isn't in your editpost.php you haven't followed the install file correctly.

do so and the hack will work.
Reply With Quote
  #144  
Old 10-13-2003, 10:59 PM
TeH Z0mB1E TeH Z0mB1E is offline
 
Join Date: Aug 2003
Location: AFT Servers
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that lines not in the install file, at least not in mine.... where abouts in editpost.php is this line supposed to be?

if i PM you my editpost.pm file can you have a look at it please?
Reply With Quote
  #145  
Old 10-14-2003, 05:31 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's very visible in the install file:
Quote:
Step 2: File changes
---------------------
open file editpost.php
the particular line you mentioned is line 85 in install file.


and no i don'T do private requests right now
Reply With Quote
  #146  
Old 10-14-2003, 05:56 PM
TeH Z0mB1E TeH Z0mB1E is offline
 
Join Date: Aug 2003
Location: AFT Servers
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i do have that line, but im still getting the problem on my forums, can you suggest something please? ive tried re-installing the hack but the error still comes up, help.
Reply With Quote
  #147  
Old 10-14-2003, 06:09 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, are you sure you have made everything correct now?

it sounds like it doesn't save the changes to the post

be sure
PHP Code:
$DB_site->query("UPDATE post SET " $adminsql "title='".addslashes(htmlspecialchars($title))."',pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signature',iconid='$iconid'$editedbysql$attachmentsql WHERE postid='$postid'"); 
is in your editpost.
and i mean the " . $adminsql . " part of it.

if that's not, then i don't know what else could it be.
Reply With Quote
  #148  
Old 10-15-2003, 12:09 AM
TeH Z0mB1E TeH Z0mB1E is offline
 
Join Date: Aug 2003
Location: AFT Servers
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its there, could it be a template problem?

PHP Code:
<tr>
    <
td bgcolor="{secondaltcolor}" nowrap><normalfont><b>Thread ID:</b></normalfont></td>
    <
td bgcolor="{secondaltcolor}"><normalfont><input type="text" class="bginput" name="pthreadid" value="$postinfo[threadid]size="40" maxlength="85"></normalfont></td>
</
tr>
<
tr>
    <
td bgcolor="{firstaltcolor}" nowrap><normalfont><b>Author ID:</b></normalfont></td>
    <
td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="userid" value="$postinfo[userid]size="20" maxlength="85">  $postinfo[username] </normalfont></td>
</
tr>
<
tr>
    <
td bgcolor="{firstaltcolor}" nowrap><normalfont><b>Editable by (and higher):</b></normalfont></td>
    <
td bgcolor="{firstaltcolor}"><normalfont><input type="radio" name="editable" $editable[4value="4">Author (no timelimit)| <input type="radio" name="editable" $editable[1value="1">Author | <input type="radio" name="editable" $editable[2value="2">Moderators |<input type="radio" name="editable" $editable[3value="3">Supermods | <input type="radio" name="editable" $editable[0value="0">Admins</normalfont></td>
</
tr>

<
tr>
    <
td bgcolor="{secondaltcolor}" nowrap><normalfont><b>Date/Time:</b></normalfont></td>
    <
td bgcolor="{secondaltcolor}"><normalfont>
                <
input type="text" class="bginput" name="datetime[mday]" value="$datetime[mday]size="1" maxlength="2">.<input type="text" class="bginput" name="datetime[mon]" value="$datetime[mon]size="1" maxlength="2">.<input type="text" class="bginput" name="datetime[year]" value="$datetime[year]size="3" maxlength="4"> - <input type="text" class="bginput" name="datetime[hours]" value="$datetime[hours]size="1" maxlength="2">:<input type="text" class="bginput" name="datetime[minutes]" value="$datetime[minutes]size="1" maxlength="2">

</
normalfont></td>
</
tr>
<
tr>
    <
td bgcolor="{firstaltcolor}" nowrap><normalfont><b>IP Address:</b></normalfont></td>
    <
td bgcolor="{firstaltcolor}"><normalfont><input type="text" class="bginput" name="ipadd" value="$postinfo[ipaddress]size="40" maxlength="85"></normalfont></td>
</
tr
there is my admineditpost template. one of my other admins just pointed this out to me, but my forums is vB 2.3.2 is this hack compatible?
Reply With Quote
  #149  
Old 10-15-2003, 03:45 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the template seems like it should, so it shouldn't be a template problem.

i hope you can fix it yourself, as i cannot reproduce it, and therefore also cannot fix it.
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 02:24 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.04308 seconds
  • Memory Usage 2,323KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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