TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 867
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 310
  • Total: 310

comment on custom pages

Started by daneth, May 12, 2009, 12:54:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

daneth

running on
TinyPortal v1.0 beta 3
SMF 1.1.8

I wuld like to add comments to my custom pages(about.template.php that is found in /themes/theme-name/pages)

is their any way to add the TP comment to them and if so will it still work on my setting to not let guset post comments?

thanks for any help

IchBin

That would require a whole lotta work IMO. Not something I would imagine too many people have time to do. Just an FYI. Would be a big enough job that you may want to consider paying someone. Just my $.02

daneth

ok cool did not know if thar was like an ssi for it or any thing like that if its that much work I dont realy need it.

IchBin

Well, it would require some custom database tables most likely, or require custom code to hit the TP tables and store the information the same way. Its not a HUGE custom job, but its pretty detailed and time consuming IMO. Deni has been known to do some awesome work, so may she will have some time. I don't know, its up to her though. :D

JPDeni

Actually, it would be simpler just to put the code for the custom pages into articles, which already have the commenting ability. I have never really seen a custom page, though, so maybe I'm not understanding what you're talking about.

daneth

#5
Quote from: JPDeni on May 12, 2009, 03:17:31 AM
Actually, it would be simpler just to put the code for the custom pages into articles, which already have the commenting ability. I have never really seen a custom page, though, so maybe I'm not understanding what you're talking about.

here is some of my custom pages
http://www.fr33-eve.com/index.php?action=256
http://www.fr33-eve.com/index.php?action=about

these are the pages that are saved under your Theme's folder in my case its
/Themes/topaz/pages/ about.template.php

but ya now that you menconed it, "it would be simpler just to put the code for the custom pages into articles"
lol I think I will try them that way :)

Ianedres

Much more simpler to use the articles with commenting on. No sense in redesigning the wheel.  ;)

A large majority of my site is built around articles, versus custom actions. TP anyday!

Zetan

The only real reason that I can see for using Custom Pages is from a non-tp perspective. The theme can be used on an SMF only site and still have pages.. Unless I'm missing the point, it's a feature of the theme. If you have TP installed, I would suggest using Articles as they are more versatile and independent of theme.

daneth

ya I am going to use Articles to do this the is the 1st time I have worked with smf and TP just came from useing e107 and trying to use all the features to learn what I can do with this bit of software

I will try and keep questions like these to a minimum but the occasional dho :facepalm: moment will happen 

thanks for the help :)

JPDeni

That's okay. That's what we're here for. There's a lot to learn with TP.

This website is proudly hosted on Crocweb Cloud Website Hosting.