Topic RSS
Hello,
Is there a possibility of adding extra buttons inside my theme files that can direct a person straight to a new topic, private message a specific user or show up profile page?
What I really want to do is:
- Put this[Add Topic] button under each wordpress article, so after reading an article people can easily make new topics in forum.
- Also a [PM a User] button link next to his comment.
- Also [Show Profile] next to somebody's comment.
I know there is something called: Post Links, But I wanted just a button in my theme's file (single.php) so people can start a topic with whatever name they want it to be.
Thanks,
Peter
take a look at the template tags in the online help (in your spf admin area)… some of what you want to do is available in there…
if you are comfortable with php, you can lift a lot of the code pieces to get what you want…
have you checked the forum – options – links panel? its built in where you can integrate the comments and forum topics – at least one way…
12:30 pm
SP Master
Nov 9, 2008
Offlinethere is also a template tag for the 'add new topic' link you want and that uses the forum set up in Options > Tags.
Thank you so much for quick replies.
Wow. The help online section in spf admin area is just what I needed. Really amazingly done. 
Thanks a lot!
-Peter
- Also a[PM a User] button link next to his comment
Has this been done, putting a 'send pm' tag in the comments.php of wordpress and it automatically knows the correct user id for the 'to' field? Any tips there?
I did try that before I posted, I put
<php sf_sendpm_tag($userid, '%%Send this User a PM</a>'); ?>;and
<php sf_sendpm_tag($userid, '%%Send this User a PM</a>'); ?>and
<?php sf_sendpm_tag($userid, '%%Send this User a PM</a>'); ?>in the wordpress comments loop just after
<cite><?php comment_author_link() ?></cite>
but didn't seem to output anything. I suspect I'm not getting the userid part of it right. I can't actualy specify
the userid as I have no particular user in mind, it's meant to be in the loop so dynamically outputting the correct id
for each commenter but the examples use a specific id.
If you are in the comments.php or similar file, you need to pass the user id which should be
$comment->user_id
Most Users Ever Online: 444
Currently Online: Mr Papa, SPQC
58 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 485
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2616
Members: 7328
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10839
Posts: 79118
Newest Members: ordie69, mutha66, jawaulk, mastergalen, ikkiamonrah, OlafKS, js, Anne Wayman, vinzMtl, VikingBrent
Moderators: Brandon C (158)
Administrators: Yellow Swordfish (22131), Mr Papa (23580)
Log In
Register
Home
Add Reply
Add Topic
Quote
Online


Visit 
Privacy Policy



