BBC edit tag

Started by Owdy, June 15, 2005, 05:24:39 AM

Previous topic - Next topic

Owdy

Link to Mod

This mod ads custom bbc button. It prints edit tags. Write your edit reason between those tags and save.
Thats it.

Please note that this mod installs this feature to default theme. If you want to use it in some other theme,
just copy /Themes/default/post.template.php and /Themes/default/images/bbc/edit.gif to your other theme after
you have installed this mod.

Works with SMF 1.0.5 and SMF 1.1 RC1 and RC2.



Screenshots:

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Rik©

#1
Thanks... this is very usefull!

But... you didn't ad
                  <require-file name="edit.gif" destination="$themedir/images/bbc" />


for SMF 1.0.4 in the package-info_xml
<install for="1.0.4">

Greetz,
Rik©

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

dtm.exe

Nice mod :).

-Dan The Man

Gary

Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Zenigata

How can I manually install this mod in SMF 1.0.5?

Thanks

Gary

Doesnt it work in 1.0.5, coz it works in 1.1 Beta 3, and thats better. So in theory it should work.
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Owdy

#7
It works with 1.0.4 and 1.1 beta 3. I cant update mod because some issues in MOD site, so use attached version in 1.0.5.

edit: updated in mod site.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

forumite

The Edit tag mod I installed under 1.0.4 still works for 1.0.5. Should that be a surprise, or is it what should be expected?

TIA

Owdy

expected. That part isnt changed.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

forumite


nokonium

Hi Owdy
I've upgraded to 1.0.5 and when trying to install, I'm getting a failure with the Post.template part of the install

Execute Modification   ./Themes/default/Post.template.php   Failure

I don't understand enough to interpret the xml file and maually make the mod to the file. Can I run the installer for the other files and paste in the correct code for Post.template?



Owdy

#12
Did you have installed this before? Try upload fresh Post.template.php
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

nokonium

This was the first install of the edit tags mod, but I have other mods installed.

It has installed OK into the new Post.Template file, thanks.





ÞħÞ

I just made this myself yesterday and saw this today  :(

I set mine up so you can type

/edit spelling

and it would show up as

edited by php2: spelling

with the style I set in the theme style.css file

The only thing I didn't do is add a button, because I didn't see a reason to... /edit is quite easy to type, maybe I'll just add a note about how to use it on the reply page or something...

| My Website [nofollow]
There are 10 types of people in the world:
Those who understand binary and those who don't

ArkServer

 Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    .\Sources/Subs.php    Failure
2.    Execute Modification    .\Themes\default/Post.template.php    Success
3.    Extract File    .\Themes\default/images/bbc/edit.gif

can anyone help me fixing it?


1.05

Owdy

Upload fresh Subs.php and try again.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

ltdeta

maybe a new feature:

optional made the posting showing as unread  (only for administrator and global administrator  8)  )

so that everybody see it by using "action=unread" 

ltdeta

how can i write the edit time into the tag ?

Example:

one posting 3 times edit:


Edit (11.25 PM): first change

Edit (11.35 PM): second change

Edit (11.44 PM): third change

DemonicInfluence

does this work with rc2?

Advertisement: