Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2002, 06:04 PM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Tell a friend?

I'm positive I'm not the first to think of this one, but I don't see it anywhere. Is there a script/hack/mod/whatever that will allow members to tell friends about a thread?

You've seen them on other sites, you click on the "tell a friend" link, give it your e-mail and your friends, and it mails them the page and says "so and so" thought you might like to see this.
Reply With Quote
  #2  
Old 04-15-2002, 06:09 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you look at the bottom of this page you'll see a link for 'Email This Page to Someone'. This is a standard feature in vB and has been ever since I can remember.
Reply With Quote
  #3  
Old 04-15-2002, 06:25 PM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font size="4">D'oh! </font>

Sorry... Thanks for the reply.
Think I'll make it a bit more
noticable in my templates.
Reply With Quote
  #4  
Old 04-15-2002, 07:08 PM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, after looking around a bit, I don't feel quite as stupid for not noticing this as it only shows up in certain views.

In the default templates, at least the ones I have, it only shows up when you're viewing a thread. It doesn't show up on the forum or topic page views.

It doesn't look like you can just cut and paste it in either, since it wants a threadid. So is there a way to do it on the home page and the forum pages too?
Reply With Quote
  #5  
Old 04-15-2002, 07:14 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you put it in the forum home and display pages then how would it know which thread you want to send. It's in the thread view for a reason.
Reply With Quote
  #6  
Old 04-15-2002, 07:22 PM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why does it have to be only threads?

All it does is send them a link, why can't it send them a link to any of the pages in the forum, rather than just threads.

What if I want to tell them about the Code Hacks forum in general, and not this just thread? It could just as easily send them the url of https://vborg.vbsupport.ru/forumdisp...p?s=&forumid=3 It doesn't need a thread in that case.

Same for the home page, which is actually where I wanted to put it at first.

I guess you've got a "Tell a friend about this thread" option and I want a more generic "Tell a friend about this Page" option.

There's plenty of CGI scripts out there that will do just what I want, except I need to have it strip the session specific stuff. That's why I was looking for a hack here, instead of just using a generic tell a friend script.
Reply With Quote
  #7  
Old 04-15-2002, 07:41 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's true, but your original question was,

"Is there a script/hack/mod/whatever that will allow members to tell friends about a thread?"

That's what I was responding to.
Reply With Quote
  #8  
Old 04-15-2002, 07:48 PM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, you're right. I did ask that, since I thought it would be tougher to do with threads.

So, we've establish VB can and does do that.

Now, what about non thread pages? Any options there?
Reply With Quote
  #9  
Old 04-15-2002, 10:30 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On that subject you're right - a hack and template edits would be involved. Not being much of a hacker myself, we'll have to let someone else come up with a solution. Good luck!
Reply With Quote
  #10  
Old 04-15-2002, 11:07 PM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's what I was afraid of...

For now I've compromised on this. I used the "tell a friend" form from bignosebird.com and removed the place where it is supposed to automagically insert the page url. Instead it
simply inserts the url http://www.railroadforums.com/ no matter what page they call it from. (and of course I changed the wording to tell a friend about this site...)

So, no matter where they use it, the url won't break. Bad news is that it doesn't allow you to send a specific page, just the site in general.

Any cgi hackers out there know an easy way to strip the "S=" portion out of the url? If I can do that, I could make this script work.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04286 seconds
  • Memory Usage 2,247KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete