Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: [MOD] Highlighted admin comments (sNews 1.4)  (Read 12323 times)

Mika

  • Hero Member
  • *****
  • Karma: 9
  • Posts: 1377
    • http://www.ni5ni6.com/
[MOD] Highlighted admin comments (sNews 1.4)
« Reply #15 on: August 21, 2006, 06:46:16 pm »

brilliant job, bob :)
Logged
http://www.ni5ni6.com/ - Tutorials, Mods and How-To's about sNews CMS
sNews 1.6 Developers Edition - commented sNews 1.6 version

David

  • Hero Member
  • *****
  • Karma: 7
  • Posts: 567
[MOD] Highlighted admin comments (sNews 1.4)
« Reply #16 on: September 11, 2006, 02:24:25 pm »

Dear Mika, i know you are a busy man, but it should be good to see this mod for snews 1.5...but perhaps after the stable version ;)
Logged

Mika

  • Hero Member
  • *****
  • Karma: 9
  • Posts: 1377
    • http://www.ni5ni6.com/
[MOD] Highlighted admin comments (sNews 1.4)
« Reply #17 on: September 11, 2006, 02:51:05 pm »

no problem, mate ;)
Logged
http://www.ni5ni6.com/ - Tutorials, Mods and How-To's about sNews CMS
sNews 1.6 Developers Edition - commented sNews 1.6 version

Sasha

  • Hero Member
  • *****
  • Karma: 28
  • Posts: 938
    • cssanarchy.com
[MOD] Highlighted admin comments (sNews 1.4)
« Reply #18 on: December 14, 2006, 02:40:40 am »

this works with snews 1.5?




Quote from: bakercad
I've added a couple of things to this mod if anyone is interested.

Here's what it does...when the admin is logged in, so you don't have to type it in:

-Automatically inserts admin's comment password into the post textarea

-Automatically inserts a preset value in the "Name" field of the comment form

1. Add the red to mika's code above.
Quote
// ADMINISTRATION LANGUAGE VARIABLES
...
$l['enable_commenting'] = "Enable commenting";
$l['admin_comment_name'] = "your name"; //admin's name to automatically add into post.
$l['admin_comment_password'] = "#code#"; //password to unleash :D special "admin-style" comment look
$l['admin_edit_start'] = "#start#"; //start editing other user's post
$l['admin_edit_stop'] = "#stop#"; //stop editing other user's post

...
2. find in //COMMENTS (snews.php)
Quote
//COMMENTS
...





...
2. and replace it with
Quote
//COMMENTS
...




/>


...
Logged
Every morning, I get up and look through the 'Forbes' list of the richest people in America. If I'm not there, I go to work. | If you love your job, you haven't worked a day in your life. snews with ♥

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
[MOD] Highlighted admin comments (sNews 1.4)
« Reply #19 on: December 16, 2006, 11:43:48 am »

bump
Logged
"It's only dead fish that goes with the flow... "
Updated

Sasha

  • Hero Member
  • *****
  • Karma: 28
  • Posts: 938
    • cssanarchy.com
[MOD] Highlighted admin comments (sNews 1.4)
« Reply #20 on: December 19, 2006, 06:00:30 am »

Quote from: Patric
bump
what the hell that means Patric? yes? hehehe i need this for my new web site similar for mika web site.i m going to explain some working whit photoshop for you guys so you guys can do beter designs.simple is oky but you need to know photoshop for powerful designs.whit photoshop designs your template going to look amazing and snews going to have more users :).also if someone intresting to open some web site about css coding designs?i want to learn that to .i m in kindergarten stage whit css  :( .i need some time some help but i hate asking i like to learn..so open that site :) ......OK ONE MORE TIME.THIS MOD WORKING WHIT 1.5 OR NOT.THX
Logged
Every morning, I get up and look through the 'Forbes' list of the richest people in America. If I'm not there, I go to work. | If you love your job, you haven't worked a day in your life. snews with ♥

Mika

  • Hero Member
  • *****
  • Karma: 9
  • Posts: 1377
    • http://www.ni5ni6.com/
[MOD] Highlighted admin comments (sNews 1.4)
« Reply #21 on: December 19, 2006, 06:24:51 am »

WIP is here: http://www.ni5ni6.com/snews-mods/comments-area-styling-and-visuals/  (I'll finish it today...I hope ;))
Logged
http://www.ni5ni6.com/ - Tutorials, Mods and How-To's about sNews CMS
sNews 1.6 Developers Edition - commented sNews 1.6 version

Sasha

  • Hero Member
  • *****
  • Karma: 28
  • Posts: 938
    • cssanarchy.com
[MOD] Highlighted admin comments (sNews 1.4)
« Reply #22 on: December 19, 2006, 06:36:02 am »

Hej thanks Mika we need that for better templates designs.:)
Logged
Every morning, I get up and look through the 'Forbes' list of the richest people in America. If I'm not there, I go to work. | If you love your job, you haven't worked a day in your life. snews with ♥

Sasha

  • Hero Member
  • *****
  • Karma: 28
  • Posts: 938
    • cssanarchy.com
[MOD] Highlighted admin comments (sNews 1.4)
« Reply #23 on: February 04, 2007, 08:50:10 am »

Hey Mika if this all code work whit 1.5.31 versions for admin comments?
Logged
Every morning, I get up and look through the 'Forbes' list of the richest people in America. If I'm not there, I go to work. | If you love your job, you haven't worked a day in your life. snews with ♥

Mika

  • Hero Member
  • *****
  • Karma: 9
  • Posts: 1377
    • http://www.ni5ni6.com/
[MOD] Highlighted admin comments (sNews 1.4)
« Reply #24 on: February 04, 2007, 09:36:50 am »

Quote from: sasha
Hey Mika if this all code work whit 1.5.31 versions for admin comments?
Of course ;) Here it is: http://www.solucija.com/forum/viewtopic.php?pid=22507

(You've probably missed it - this is 1.4 mods forum)
Logged
http://www.ni5ni6.com/ - Tutorials, Mods and How-To's about sNews CMS
sNews 1.6 Developers Edition - commented sNews 1.6 version
Pages: 1 [2]