collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: This will not return a hyperlink  (Read 1890 times)

0 Members and 1 Guest are viewing this topic.

Offline Xene

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
This will not return a hyperlink
« on: October 31, 2009, 09:23:25 am »
return "Raid Info :: " . $this -> bot -> core("tools") -> make_blob("click to view", $content);

When i run this module i get:

[09:21] [Avengers]: Raid Info :: <a href="text://ÿþ<</font></font></div>

Can any one tell me, how to correct this ... i renamed another module, and the only thing i changed are the "Raid Info ::"-part ... rest is working nicely when i use the other module

Thanks for help in advance.

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: This will not return a hyperlink
« Reply #1 on: October 31, 2009, 11:27:49 am »
Sure you only changed that line?

Try this:
Quote
$blob = $this -> bot -> core("tools") -> make_blob("click to view", $content);
return "Raid Info :: " . $blob;
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Xene

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: This will not return a hyperlink
« Reply #2 on: October 31, 2009, 02:48:41 pm »
I tried that, still same result ... ;)
Here are the whole function:
   function make_list()
   {
      if(false !== ($handle = @fopen("ginfo/rinfo.lst", "r")))
      {
         // Tijdelijk, zodat ik veel aanpassingen kan doen en niet maar halve files te zien krijg
         clearstatcache();
         $content = fread($handle, filesize("ginfo/rinfo.lst"));
         fclose($handle);
         $blob = $this -> bot -> core("tools") -> make_blob("click to view", $content);
         return "Raid Info :: " . $blob;
      }

      return "Raid Info :: No info available atm.";
   }
the only thing i have changed from the GuildInfo-module is changed Guild to Raid and ginfo to rinfo

Thanks

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: This will not return a hyperlink
« Reply #3 on: October 31, 2009, 03:23:07 pm »
Change the text in rinfo.lst to "Test" and check if the contains in that file causes it...
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 644
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal