Quote

Started on the old forum in September 2009 · view the original in the archive · old links redirect here

33 replies · 1,632 views · started 17 years ago · 1 min read

8 participants
srecnica Developer · 174 posts #23

LoonyGod wrote: there would me a much easier way when the user clicks qoute transfer the variable thru the url or POST then simply add it to the start off the user input

how? Give your solution? to think that you did it with the url transfer? write here the code .. please 🙂 and to try your solution

Loony Senior · 258 posts #28

no think about it u have the quote link which when clicked it post's the message id to the next page on the next page use a query to select the message using the id then echo the result of that query into the value section of the input form where the user types there message

Creator of Epix.Mobi

Keep an Eye on us Big things coming soon!!!! Need something for your site hit me up here http://coding-talk.com/forum/main-forums/marketplace/153110-free-features-for-your-wapsite

srecnica Developer · 174 posts #29

This code is ok but I need help to show quotes and not just the first quote .. but does not show quotation quoted post ... $qut = $_GET["qut"]; $quid = $_GET["quid"]; $uid = $_GET["uid"]; $post = mysql_fetch_array(mysql_query("SELECT id, text, uid, dtpost, quote FROM ibwf_posts WHERE id='".$quid."'")); $unick = getnick_uid($post[2]);

$quidsql = mysql_fetch_array(mysql_query("SELECT text FROM ibwf_posts WHERE id='".$quid."'")); $quidtxt = "[quotetext]Citiran $unick post: ".$quidsql[0]."[/quotetext]";

echo "

"; echo "<form method="post" action="genproc.php?action=post&sid=$sid">";

echo "Poruka:<input name="reptxt" maxlength="999999999999" value="$quidtxt"/> "; echo "<input type="hidden" name="tid" value="$tid"/>"; echo "<input type="hidden" name="qut" value="$qut"/>"; echo "<input type="hidden" name="quid" value="$quid"/>"; echo "<input type="submit" name="Submit" value="Napisi"/> "; echo "</form>";

....Understand? For example, if you quoted a post and I want to quote your post in which this quote, with this code show only that your quote for my quote shows just BB code quotetext .....

srecnica Developer · 174 posts #33

rap-4ever wrote: add row in ibwf_posts: quote - field , int(100) - type , 0 -defaut ... i don‚t know this so much...

xexe.. it already has in the database and those not working ..... I did this code in your way .. and very nice work ... I made a new feature in the index and genproc file and added something in the database and works fine 🙂 thanks

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close