31
kesikkafa
Shoutbox- i dont want a horizontal scroll bar
  • 2005/3/23 8:03

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


hhttp://www.kesikkafa.com/xo

You see? left-bottom side..you see the the shout box and it has a horizontal scroll bar..how can i cancel it and how can i make messages to pass new line when the visible area finished?



32
kesikkafa
phpBB login form as Xoops Block?
  • 2005/3/23 7:01

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


i want to let my phpbb forum users to login to my phpbb forum via XOOPS block on my homepage. The code is here but when i try to copy and paste this code as a block the form is appear well but the page tuning-order to go bad-deformed.




















Enter Your Username And Password





















 
User Name


Remember Me



Lost Password

 





33
kesikkafa
Re: how can i use this php code in a block
  • 2005/3/23 6:48

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


i did my friend..i did everything.This code is cursed :)



34
kesikkafa
Re: best homepage module?
  • 2005/3/23 6:06

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


No Digiegirl.i am already using news module on my home page but it is not google friendly.google cant find my news.

i wonder if a homepage module can solve this problem or not.



35
kesikkafa
Re: how can i use this php code in a block
  • 2005/3/23 5:58

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


no.what a code!!! it is working on a single php page but not on xoops.
my XOOPS is in the directory http://www.kesikkafa.com/xo

and scroll.php is in /xo and kesikkafa.com main directory also...and the code of scroll.php is here:

//
// Basic Configuration
// How Many Topics you want to display?
$topicnumber = 20;
// Scrolling towards up or down?
$scroll = "up";
// Change this to your phpBB path
$urlPath = "http://www.kesikkafa.com/forum";

// Database Configuration (Where your phpBB config.php file is located
include 'forum/config.php';

// Connecting & Selecting Databases
$table_topics = $table_prefix. "topics";
$table_forums = $table_prefix. "forums";
$table_posts = $table_prefix. "posts";
$table_users = $table_prefix. "users";
$link = mysql_connect("$dbhost", "$dbuser", "$dbpasswd") or die("Could not connect");
mysql_select_db("$dbname") or die("Could not select database");

// Perform Sql Query
$query = "SELECT t.topic_id, t.topic_title, t.topic_last_post_id, t.forum_id, p.post_id, p.poster_id, p.post_time, u.user_id, u.username
FROM $table_topics t, $table_forums f, $table_posts p, $table_users u
WHERE t.topic_id = p.topic_id AND
f.forum_id = t.forum_id AND
t.topic_status <> 2 AND
p.post_id = t.topic_last_post_id AND
p.poster_id = u.user_id
ORDER BY p.post_id DESC LIMIT $topicnumber";
$result = mysql_query($query) or die("Query failed");

// Outcome of the HTML
// Be carefull when you edit these!
print "
";
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo "";
}
print "
" .
$row["topic_title"] .
"
" .
"
";

// Free Result
mysql_free_result($result);

// Close the Connection
mysql_close($link);
?>



36
kesikkafa
best homepage module?
  • 2005/3/22 10:49

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


can you please write your comments



37
kesikkafa
Re: how can i use this php code in a block
  • 2005/3/22 10:31

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


no..does not work..the rest of block does not appear.



38
kesikkafa
Re: how can i use this php code in a block
  • 2005/3/22 9:01

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


i try

include("<{$xoops_url}>/scroll.php");

and it again failed..i see only the name of the block.but the rest dont appears.. but this code is ok.it works on a single php page as i mentioned on my first message



39
kesikkafa
Re: how can i use this php code in a block
  • 2005/3/21 9:14

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


you mean this.
/scroll.php");?>

if yes it is not work

and i also try



and



but i dont get success.



40
kesikkafa
how can i use this php code in a block
  • 2005/3/21 2:58

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2




This code is scrols last messages from phpbb forum on any where.
you can see the sample here http://www.kesikkafa.com/2.php




TopTop
« 1 2 3 (4) 5 »



Login

Who's Online

181 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits