updated_timestamp
1.1
This is a little mod that changes the output when the
timestamp-button is clicked.
Normally the timestamp-function returns the time the page was loaded. So while writing your post you can click as many times as you want but you will not get an updated timestamp.
Install this mod and the button will always insert the current time instead.
Important:
-only tested with YaBB2 RC3
-This mod makes changes in ubbc.js. If you want to install this mod with BoardMod you first have to move this file into your cgi-bin/yabb2 -directory.
Setup:
1. When installing with BoardMod move ubbc.js into
cgi-bin/yabb2/
2. Apply the mod
3. move ubbc.js back to original place (should be
public_html/yabbfiles/)
4. Upload the following files in ASCII Mode:
cgi-bin/yabb2/Sources/Post.pl
cgi-bin/yabb2/Admin/ModList.pl
public_html/yabbfiles/ubbc.js
rebus
mailto:rebus@gmx-topmail.de
Sources/Post.pl
if($enable_ubbc && $showyabbcbutt) {
# this is for the ubbc buttons
$yymain .= qq~
| $post_txt{'252'}: |
|