collapse collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 140
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM
  • phantomm: and from what I see only patch is broken, full install package is fine
    October 21, 2016, 03:44:44 PM

* Recent Posts

Where is the code for these elements, where are they stored? by danmsmith018f
[Yesterday at 04:23:44 PM]


Re: v 2.3.3 to v2.3.7 by ♦ Ninja ZX-10RR ♦
[December 11, 2018, 04:14:48 PM]


v 2.3.3 to v2.3.7 by rollingrock
[December 11, 2018, 09:36:20 AM]


[Block] Help with editing few lines on Simpleportal by Wallen
[December 09, 2018, 05:10:34 AM]


Re: LinkTree by Chen Zhen
[November 15, 2018, 02:24:51 PM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: add "Last Edited by:" string in pages  (Read 7019 times)

0 Members and 1 Guest are viewing this topic.

Offline mano82

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
add "Last Edited by:" string in pages
« on: February 27, 2015, 07:05:56 AM »
As the title says I would like to have a little string saying who's last edited and when the page.

I'm managing sort of an internal wiki on my website and it will be interesting to have an indication of who and when last edited the page.

I know where to edit part of the "page" template, found in /Themes/default/PortalPages.template.php, but I'm totally lost concerning how to include the members and last edit date. Presumably I need to add two columns in the (smf_)sp_pages table of the database for the userid (or name) and the edit date, but I don't know where to put my hands to manage the part of the code concerning the user's edit action.

For whom is already writing me about simplewiki, I've already tried to bridge SMF/SP to simplewiki but was not successful because it didn't worked at all concerning the memberships. If someone had the same problem and solved it I would be glad to hear how he did...

Thanks
« Last Edit: February 27, 2015, 07:13:20 AM by mano82 »

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1177
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: add "Last Edited by:" string in pages
« Reply #1 on: February 27, 2015, 07:15:04 AM »
I wonder why you would "ever" post in this section, really...
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis

Offline mano82

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
Re: add "Last Edited by:" string in pages
« Reply #2 on: February 27, 2015, 07:47:51 PM »
wow that really helped....as the little text below my name says...I'm a newbie of this forum and smf/sp in general. maybe I misunderstood the section?

@Mods: sorry. Wrong place. Could some one please move this topic?

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1177
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: add "Last Edited by:" string in pages
« Reply #3 on: February 28, 2015, 12:33:58 AM »
I answered like that because it takes quite a bit of effort to get into this section already, making me think you have digged a bit before asking but in the end if you did I really wonder why you came in here, lol.
Besides at the moment there isn't such a thing... I'd highly suggest you to restrict who has SP admin permissions instead :/ you don't want someone to random pages don't you? ;)
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis

Offline mano82

  • Newbie
  • Posts: 4
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
Re: add "Last Edited by:" string in pages
« Reply #4 on: March 01, 2015, 05:25:21 AM »
lol actually i digged the forum a bit but evidently i didn't understood it structure...

the problem is not who has admin permission so who actually edit the page. that is under control. the need was strictly informative and show the reader who's the author of the page.

anyway, I'll post in the new request. thanks.

Offline ♦ Ninja ZX-10RR ♦

  • Spammer Hammer
  • Support
  • *
  • Posts: 1177
  • Gender: Male
  • Sniper Legends
    • Virtual Interactive Games Entertainment™
  • SMF Version: 2.0.13
  • SP Version: 2.3.6
  • Elkarte Version: 1.0.6
Re: add "Last Edited by:" string in pages
« Reply #5 on: March 01, 2015, 07:39:25 AM »
Only thing that comes to my mind would be to simply add a little signature :P
Like...
-Ninja

Or something like this >_<
Have you tried SimplePortal Documentation before asking? ;)
F.A.Q.  English Support  |  Blocks Support
Fancy Feature idea ?!  |  Blocks Requests
Themes & Graphics

▼ My job! ▼

No PMs for support unless it's a paid request. Thank you! :)
#OpIsis