Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Login
Register
BeBot - An Anarchy Online and Age Of Conan chat automaton
»
Development
»
Coding and development discussion
»
Topic:
how to wrap item link to show up in blob?
Menu
Home
>Download latest<
New wiki
Forum
Discord
Donate
License
Archives
Prior versions (old)
Initial wiki (old)
Project home (old)
Bugs (old)
Blueprints (old)
Code (old)
User Info
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Welcome,
Guest
. Please
login
or
register
.
Search
Board Stats
Total Members:
989
Total Posts: 18366
Total Topics: 2501
Total Categories: 7
Total Boards: 35
Most Online: 1144
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: how to wrap item link to show up in blob? (Read 4531 times)
0 Members and 1 Guest are viewing this topic.
kuznechik
Contributor
Posts: 60
Karma: +0/-0
how to wrap item link to show up in blob?
«
on:
November 03, 2006, 09:54:47 pm »
I've modified my loot module with result wrapping in blob...
End up being unable to click on items to see ql.
Simple question: how to fix it?
Logged
Kuznechik, proud bot admin of Disciples of Omni-Tek, Rimor.
Nesi
BeBot User
Posts: 55
Karma: +0/-0
Re: how to wrap item link to show up in blob?
«
Reply #1 on:
November 04, 2006, 11:15:47 pm »
It might just be me that dumb here, but it's as good as impossible to give any ffedback if you don't supply any details other than saying its broke.
Logged
Malosar
BeBot Expert
Posts: 259
Karma: +0/-0
Re: how to wrap item link to show up in blob?
«
Reply #2 on:
November 06, 2006, 06:57:04 pm »
After you've got a string from the make_item function, try:
$item = str_replace('"',"'",$item);
($item being whatever your string variable is)
Logged
Eternalist
General of The Syndicate
kuznechik
Contributor
Posts: 60
Karma: +0/-0
Re: how to wrap item link to show up in blob?
«
Reply #3 on:
November 06, 2006, 09:29:39 pm »
Well, long explanation:
It was standard loot.php
Due to request I've wrapped it so strings that were printed in privgroup are now added to string variable I use this -> bot -> make_blob () on.
All is ok except links in blob do not open info about items
Logged
Kuznechik, proud bot admin of Disciples of Omni-Tek, Rimor.
Alreadythere
BeBot Maintainer
BeBot Hero
Posts: 1288
Karma: +0/-0
Re: how to wrap item link to show up in blob?
«
Reply #4 on:
November 06, 2006, 10:19:41 pm »
See Malosar - links in blobs have to have ' instead of " (or the other way around, can't check right now). So his simple str_replace does the job.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
BeBot - An Anarchy Online and Age Of Conan chat automaton
»
Development
»
Coding and development discussion
»
Topic:
how to wrap item link to show up in blob?
Recent Posts
Com bot module
by
bitnykk
[November 25, 2024, 05:36:11 pm ]
0.8.x updates for AO
by
bitnykk
[June 23, 2024, 03:19:47 pm ]
0.8.x updates for AoC
by
bitnykk
[June 23, 2024, 03:19:44 pm ]
[AoC] special char for items module
by
bitnykk
[February 09, 2024, 09:41:18 pm ]
BeBot still alive & kicking !
by
bitnykk
[December 17, 2023, 12:58:44 am ]
Who's Online
Guests: 168
Hidden: 0
Users: 0
There aren't any users online.
Forum Staff
bitnykk
Administrator
Khalem
Administrator
WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal