Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
dogpowell
Regular
Regular



Joined: Oct 01, 2006
Posts: 50
Location: UK

PostPosted: Mon Jan 22, 2007 1:53 pm Reply with quote

I have added a "Report Post" link under the posted date (like it says on this post above this text "Posted: Mon Jan 22, 2007 7:53 pm", when viewing a topic. The only way I could do it is to 'mailto:me@you.net' type of link to open up someones email.

Is there a way I can make this link so it would include the link of the post being viewed and send the link to admin. ?????????


EXAMPLE ::

Quote:
Somebody has reported an abusive post at [ Only registered users can see links on this board! Get registered or login! ]
Please visit the below link to view the page involved.
[ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Mon Jan 22, 2007 4:35 pm Reply with quote

mmmmm , i guess it would be something like :

Code:
a href="mailto:you@blabla.com?subject=here come topic">
 
View user's profile Send private message
dogpowell







PostPosted: Tue Jan 23, 2007 3:28 am Reply with quote

hitwalker wrote:
mmmmm , i guess it would be something like :

Code:
a href="mailto:you@blabla.com?subject=here come topic">






errrrrr ....... Yes I was thinking maybe more like editing the /root/themes/theme/forums/viewtopic_body.tpl file to get the link up on the site and when clicked it calls from the db auto inserting the thread link into the email or a form ? Then admin can simply click the link to view the probelm thread.
 
hitwalker







PostPosted: Tue Jan 23, 2007 6:02 am Reply with quote

that looks like a good approach...
just try something.. Wink
 
dogpowell







PostPosted: Tue Jan 23, 2007 6:04 am Reply with quote

hitwalker wrote:
that looks like a good approach...
just try something.. Wink



I would if I knew where to start Evil or Very Mad

Thats why I posted asking for help Rolling Eyes
 
hitwalker







PostPosted: Tue Jan 23, 2007 6:09 am Reply with quote

but i have nothing to test on....
and the catch is also to learn a bit to.....
what have you tried..?
 
dogpowell







PostPosted: Tue Jan 23, 2007 6:19 am Reply with quote

I have added a simple mailto link in the viewtopic_body.tpl file on or around line 41 but havn't got a clue how to call details from bd.
I am using 7.6 patched to 3.1
 
dogpowell







PostPosted: Tue Jan 23, 2007 6:20 am Reply with quote

Tried posting script but got banned ?????
 
dogpowell







PostPosted: Tue Jan 23, 2007 6:23 am Reply with quote

Have added you to my msn if thats easier ....
 
hitwalker







PostPosted: Tue Jan 23, 2007 6:30 am Reply with quote

try contacting me then...
 
dogpowell







PostPosted: Tue Jan 23, 2007 6:40 am Reply with quote

I have Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©