home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1694
Discussions: 188,402, Posts: 2,243,609, Members: 232,632
Old October 3rd, 2005, 09:48 PM   Digg it!   #1 (permalink)
Si vis pacem, para bellum
 
daveleau's Avatar
 
Join Date: Sep 1999
Location: KBAD-Bossier City LA
Posts: 7,600
Send a message via ICQ to daveleau Send a message via AIM to daveleau Send a message via Yahoo to daveleau
Question about PHP forum code

Hi everybody!~

Long time no see. I hope everyone is doing well.

I have a question about code on a forum like this one. What I am trying to do is set up a link to be able to send a PM to up to ten people.

Here is a link to PM me at that site:

http ://www.christianforums.com/private.php?do=newpm&stripquote=1&u=32263
(I added a space after the "http" to disable the automatic URL parsing.)

The 32263 is my user profile number. How would I write a link that would allow me to PM up to ten of these user ID numbers?

Thanks!
Dave


Last edited by daveleau : October 3rd, 2005 at 10:18 PM.
daveleau is offline   Reply With Quote
Old October 3rd, 2005, 10:07 PM     #2 (permalink)
Mr. Smartypants
 
Detritus's Avatar
 
Join Date: Jan 2002
Location: MI
Posts: 14,107
Blog Entries: 4
Send a message via MSN to Detritus Send a message via Yahoo to Detritus
Holy Cow!

Hiya Dave, sorry I can't answer the question, but I thought I would crap a hello anyway!

Detritus is offline   Reply With Quote
Old October 3rd, 2005, 10:17 PM     #3 (permalink)
Si vis pacem, para bellum
 
daveleau's Avatar
 
Join Date: Sep 1999
Location: KBAD-Bossier City LA
Posts: 7,600
Send a message via ICQ to daveleau Send a message via AIM to daveleau Send a message via Yahoo to daveleau
Hey, good to see you Detritus! Hellos from friends are never a thread crap where I'm concerned.

daveleau is offline   Reply With Quote
Old October 3rd, 2005, 10:19 PM     #4 (permalink)
dword to your moms
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 3,195
Send a message via AIM to krohnjw
You could easily allow multiple u=vars (GET) to be passed via the URL and then use explode to separate them all (they will populate as comma seperated under the u key).
krohnjw is offline   Reply With Quote
Old October 3rd, 2005, 11:56 PM     #5 (permalink)
Si vis pacem, para bellum
 
daveleau's Avatar
 
Join Date: Sep 1999
Location: KBAD-Bossier City LA
Posts: 7,600
Send a message via ICQ to daveleau Send a message via AIM to daveleau Send a message via Yahoo to daveleau
Hi krohnjw. Thanks. How would that look in text? I'm trying to do this without access to the forum code itself.
daveleau is offline   Reply With Quote
Old October 4th, 2005, 01:40 AM     #6 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,549
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
If you don't have access to the code then who knows.

It simply could take u= as a strict userid, attempt to validate and send. Without access to the code there is really no way of knowing:
1) If it is possible to send to more than one using the function that page invokes
2) If it is possible, what parameters it takes

You could attempt the following if you like
http://www.christianforums.com/priva...SERID3,USERID4

Without access to the code there is really no way of knowing though except to try this. If it doesn't work there really is not much you can do without access.

Jkrohn
__________________
Signatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.
jkrohn is offline   Reply With Quote
Old October 4th, 2005, 02:48 AM     #7 (permalink)
Si vis pacem, para bellum
 
daveleau's Avatar
 
Join Date: Sep 1999
Location: KBAD-Bossier City LA
Posts: 7,600
Send a message via ICQ to daveleau Send a message via AIM to daveleau Send a message via Yahoo to daveleau
Thanks. I just tried your suggestion. Adding user id's in that manner only lists the first user id in the address of the PM. I guess the coding would have to allow for it, and it doesn't right now.
I appreciate the help.
Dave
daveleau is offline   Reply With Quote
Old October 4th, 2005, 09:14 AM     #8 (permalink)
dword to your moms
 
krohnjw's Avatar
 
Join Date: Oct 2001
Location: ~/
Posts: 3,195
Send a message via AIM to krohnjw
The coding will definitely need to allow for it to work. Unless you can somehow structure the u variable to accept a string of users that will work with the current sending format you will be unable to accomplish this without code modification.

With a bit more information as to how the PM "function" parses the u variable to determine who to send it to and how it actually sends it, it may be possible to create a to string that will send to multiple recipients, but you would likely need to find this information first.

Last edited by krohnjw : October 4th, 2005 at 09:21 AM.
krohnjw is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum Code bigfeta Graphic Design and Digital Photography 8 August 18th, 2004 07:00 AM
CAN SOMEONE PLEASE TELL ME THE CODE THAT I CAN USE TO TEST TO SEE IF I CAN USE PHP KiLLaJ17 Graphic Design and Digital Photography 1 April 26th, 2004 02:48 AM
PHP code not working cracked Webmastering and Programming 3 February 26th, 2004 11:15 PM
Forum Jump box on search.php golfcart Suggestion Box 1 November 12th, 2003 05:42 PM
do i need PHP to use this code? Chooco Webmastering and Programming 5 March 21st, 2002 09:35 PM

Most Active Discussions
Is It Just Me? (2906)
3-days in and no threads about Gaza (161)
Misery Loves Company... (2144)
New Build ( Finally ) (7)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
RCA 52Inch HDTV wont turn on (5)
Folderchat Weekday thread (444)
Recent Discussions
Futronix has water features? (0)
Laptop proccesor to desktop mob.. (2)
Please help! multiple problems! (4)
RCA 52Inch HDTV wont turn on (5)
New Build ( Finally ) (7)
Common Spyware Solutions (97)
How do you move a hard-drive to.. (4)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 04:36 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28