Forum Topic

Started on the old forum in December 2008 · view the original in the archive · old links redirect here

9 replies · 705 views · started 17 years ago · 1 min read

5 participants
extreme Junior · 11 posts #1

can help me to change this code addonline(getuid_sid($sid),"Viewing Forum Topic",""); to user can know whre topic other user go now

marwin29 Junior · 35 posts #2

addonline(getuid_sid($sid)," viewin $cinfo[0] ",""); <=this topic ///// ///// ///// ///// addonline(getuid_sid($sid)," viewin $fnm ",""); <=forum name !.. ///// ///// ///// Not sure if is right!..

metulj Super moderator Principal · 1,726 posts #5

topic name

else if($action=="viewtpc")
{
$tid = $_GET["tid"];
$tinfo = mysql_fetch_array(mysql_query("SELECT name, text, authorid, crdate, views, fid, pollid from ibwf_topics WHERE id='".$tid."'"));
$tnm = htmlspecialchars($tinfo[0]);
addonline(getuid_sid($sid),"reads topic $tnm","");..................

forum name

else if($action=="viewfrm")
{
$fid = $_GET["fid"];
$finfo = mysql_fetch_array(mysql_query("SELECT name from ibwf_forums WHERE id='".$fid."'"));
$fnm = htmlspecialchars($finfo[0]);
addonline(getuid_sid($sid),"browsing forum $fnm","");...................

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

extreme Junior · 11 posts #6

QUOTE (metulj @ Dec 11 2008, 05:33 PM) <{POST_SNAPBACK}>

topic name

else if($action=="viewtpc")
{
$tid = $_GET["tid"];
$tinfo = mysql_fetch_array(mysql_query("SELECT name, text, authorid, crdate, views, fid, pollid from ibwf_topics WHERE id='".$tid."'"));
$tnm = htmlspecialchars($tinfo[0]);
addonline(getuid_sid($sid),"reads topic $tnm","");..................

forum name

else if($action=="viewfrm")
{
$fid = $_GET["fid"];
$finfo = mysql_fetch_array(mysql_query("SELECT name from ibwf_forums WHERE id='".$fid."'"));
$fnm = htmlspecialchars($finfo[0]);
addonline(getuid_sid($sid),"browsing forum $fnm","");...................

is work!!for viewtopic ..but error at view forum Parse error: syntax error, unexpected '}' in /home/xxxxx/public_html/index.php on line 3715

metulj Super moderator Principal · 1,726 posts #7

QUOTE (extreme @ Dec 11 2008, 06:24 PM) <{POST_SNAPBACK}>

is work!!for viewtopic ..but error at view forum Parse error: syntax error, unexpected '}' in /home/xxxxx/public_html/index.php on line 3715

error is kind a self explanatory.... it is just a matter where and how you place posted code 🤔

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

extreme Junior · 11 posts #8

QUOTE (metulj @ Dec 11 2008, 06:33 PM) <{POST_SNAPBACK}>

error is kind a self explanatory.... it is just a matter where and how you place posted code 🤔

//////////////////////////////////View Forum

else if($action=="viewfrm")

{

$fid = $_GET["fid"];

$view = $_GET["view"];

if(!canaccess(getuid_sid($sid), $fid))

{

  addonline(getuid_sid($sid)," viewin $fnm ","");

im replace from old code ...can u show me ..thanx bro

something else Fellow · 2,296 posts #9

Does the words copy and paste coders come to mind 🤔

if($something>2){ ////blah blah }else if($something<0){ ///blah blah again }else{ //dont blah blah }

Opening and closing statements catch the drift?

extreme Junior · 11 posts #10

QUOTE (something else @ Dec 12 2008, 12:22 AM) <{POST_SNAPBACK}>

Does the words copy and paste coders come to mind 🤔

if($something>2){ ////blah blah }else if($something<0){ ///blah blah again }else{ //dont blah blah }

thanx nOw work Opening and closing statements catch the drift?

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