11
kesikkafa
Re: how can i use this php code in a block
  • 2005/3/28 9:48

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


highlander thank you..perfect!

at least i get success.

You can see the resulthttp://www.kesikkafa.com block name is Son Mesajlar. It shows the last messages from my phpbb forum.



12
kesikkafa
Re: how can i use this php code in a block
  • 2005/3/27 18:38

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


i put the scroll.php in a iframe and in a block...it is okay.
my problem is when you click a link in the iframe ,it opens the link in the iframe.i want to open link in a new window or in the main page.



13
kesikkafa
Re: how can i use this php code in a block
  • 2005/3/26 11:19

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


any idea?

i try this <a href=\"$urlPath/viewtopic.php?topic=$row[topic_id]&forum=$row[forum_id]\" target="_blank">" .
but gives eror



14
kesikkafa
Re: Shoutbox- i dont want a horizontal scroll bar
  • 2005/3/25 10:59

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


okay..there must be a real solution :(



15
kesikkafa
Re: Shoutbox- i dont want a horizontal scroll bar
  • 2005/3/25 10:35

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


how can i delete or edit the written messages?



16
kesikkafa
Re: how can i use this php code in a block
  • 2005/3/25 10:27

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


in scroll.php there when i try to click on a link it opens in iframe...i want to open it in main page

i think there is a problem at this line..what should i do

<a href=\"$urlPath/viewtopic.php?topic=$row[topic_id]&forum=$row[forum_id]\">" .



// Outcome of the HTML
// Be carefull when you edit these!
print "<marquee id=\"recent_topics\" behavior=\"scroll\" direction=\"$scroll\" height=\"100\" scrolldelay=\"50\" scrollamount=\"2\" onMouseOver=\"document.all.recent_topics.stop()\" onMouseOut=\"document.all.recent_topics.start()\">
<table cellpadding='5' cellSpacing='5' width='200' align='center'>";
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo "<tr valign='top'><td><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"1\"><font color=\"#cc0000\"><b><a href=\"$urlPath/viewtopic.php?topic=$row[topic_id]&forum=$row[forum_id]\">" .
$row["topic_title"] .



17
kesikkafa
Re: best homepage module?
  • 2005/3/25 10:07

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


but i can do it without using any homepage module..i am using news module as an homepage



18
kesikkafa
Re: best homepage module?
  • 2005/3/25 6:34

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


why you are using a homepage module? what is the aim. can anybody please anwswer this



19
kesikkafa
Re: Shoutbox- i dont want a horizontal scroll bar
  • 2005/3/25 6:18

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


thank you.. :( it was working i dont know whats wrong...
any way. i will send a mail to Jan304.



20
kesikkafa
Re: how can i use this php code in a block
  • 2005/3/25 6:07

  • kesikkafa

  • Just popping in

  • Posts: 47

  • Since: 2005/2/6 2


Quote:

Bassman wrote:
Unfortunately I can't test your scroll.php script because it accesses your database. I tried putting it in a custom php block, but when I loaded my page, all I got was "could not connect to database" on a blank page. This means the script is working, at least. Is this what you get too?
If so, I suggest you edit the database connection details in the script, this part: include 'forum/config.php';
maybe should be:include ("<{$xoops_url}>/xo/forum/config.php");


i try it .. again "could not connect to database" ..

so how can i use www.kesikkafa.com/scroll.php with iframe in a block... i mean it is working.if i get succes to view it in a iframe in a block it will be same thing.. am i wrong?




TopTop
« 1 (2) 3 4 5 »



Login

Who's Online

165 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 165


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits