boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

b2customfields 2: Better custom post field functionality
Goto page Previous  1, 2, 3, 4, 5, 6, 7
 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
natsuo



Joined: 13 Jan 2004
Posts: 2
Location: south carolina

PostPosted: Sat Jan 17, 2004 12:08 am    Post subject: Reply with quote

Code:
function getcustomfield($name){ global $tableposts,$id; $sql = "SELECT ".$name." FROM ".$tableposts." where id = ".$id." LIMIT 1"; $result = mysql_query($sql); while ($row = mysql_fetch_array($result)){ $output = $row[$name]; } $output = convert_bbcode(convert_smilies(stripslashes($output))); echo $output; }
Parse error: parse error in /home/valenti/public_html/koisara/b2-include/b2functions.php on line 1119

Warning: Cannot modify header information - headers already sent by (output started at /home/valenti/public_html/koisara/b2-include/b2template.functions.php:1229) in /home/valenti/public_html/koisara/b2login.php on line 294

Warning: Cannot modify header information - headers already sent by (output started at /home/valenti/public_html/koisara/b2-include/b2template.functions.php:1229) in /home/valenti/public_html/koisara/b2login.php on line 295

Warning: Cannot modify header information - headers already sent by (output started at /home/valenti/public_html/koisara/b2-include/b2template.functions.php:1229) in /home/valenti/public_html/koisara/b2login.php on line 296

Warning: Cannot modify header information - headers already sent by (output started at /home/valenti/public_html/koisara/b2-include/b2template.functions.php:1229) in /home/valenti/public_html/koisara/b2login.php on line 297

Warning: Cannot modify header information - headers already sent by (output started at /home/valenti/public_html/koisara/b2-include/b2template.functions.php:1229) in /home/valenti/public_html/koisara/b2login.php on line 298


wtf? what is happening
Back to top
View user's profile Send private message Visit poster's website AIM Address
kaboom_kaboom



Joined: 09 Dec 2003
Posts: 2
Location: Canada

PostPosted: Mon Jan 26, 2004 10:20 pm    Post subject: there's no NEW custom field in post/edit!! Reply with quote

I have a big problem...
I installed the tables in the mySQL database (well i used to auto install thing) and I added/changed all the coding stuff, i created a custom field called 'music' and I generated the code for it & put it into my template & saved it.
BUT...the field wont appear in the post/edit thing. I've deleted the history, & the temp internet files, i've tried re-doing it, & re-uploading things & I tried all the things that people here suggested...nothing will work. my b2 version is 0.6.2 by the way.

any suggestions at all? i am really confused by this...
_________________
{// bees in the caramel and i'm not afraid. surgeons make incisions, what a mess they've made. tearing at my skin leaving knives in my brain, stabbing at the voices making me insane. \\}
Back to top
View user's profile Send private message Visit poster's website
shmucci



Joined: 27 Jun 2003
Posts: 14

PostPosted: Wed Feb 11, 2004 9:45 am    Post subject: Reply with quote

does anyone have this hack working on the latest version of b2?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Ruud



Joined: 12 Oct 2002
Posts: 77

PostPosted: Wed Feb 11, 2004 6:50 pm    Post subject: Reply with quote

Hack works in the latest version, yes.

As for the field not appearing: after installing make one post. This will do some needed behind the scenes "magic" and your field will appear in the interface.

Ruud
Back to top
View user's profile Send private message Visit poster's website
shmucci



Joined: 27 Jun 2003
Posts: 14

PostPosted: Sat Feb 14, 2004 6:11 pm    Post subject: Reply with quote

cool. i'll try it out later. thanks!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
XBL



Joined: 07 Mar 2004
Posts: 1
Location: Castricum, the Netherlands

PostPosted: Sun Mar 07, 2004 5:31 pm    Post subject: Reply with quote

Seems to be a cool mod... exactly what I'm looking for. But... the download link isn't working!

Jochem
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
albert



Joined: 11 Oct 2002
Posts: 52

PostPosted: Sun Mar 14, 2004 11:29 pm    Post subject: Reply with quote

Ya damn it the link is broken!
_________________
"so fresh so clean"
Back to top
View user's profile Send private message AIM Address
wirrux



Joined: 07 May 2004
Posts: 11

PostPosted: Wed May 12, 2004 9:22 am    Post subject: Reply with quote

yea... can someone give a link to dowload it if u have it? hehe
Back to top
View user's profile Send private message Visit poster's website AIM Address
PrincessHope



Joined: 10 Dec 2002
Posts: 10
Location: No Wher Near YOU

PostPosted: Tue Jul 06, 2004 12:10 am    Post subject: Reply with quote

I need the link too.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Sammy



Joined: 03 Jan 2004
Posts: 5
Location: Melb, Australia

PostPosted: Wed Jul 14, 2004 1:40 pm    Post subject: Reply with quote

hi! i had to reinstall my b2.. and i was installing b2 customfields again. everything went well until i went to click on the "custom fields" tab and i get:

Code:
Fatal error: Call to undefined function: field_list() in /home/sekshi/public_html/glow/b2fields.php on line 102


does anyone know why i get this? i tried reinstalling, like starting from scratch and going through the steps again and i get the same error. eek!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Chris022088



Joined: 16 Jun 2004
Posts: 7

PostPosted: Fri Aug 13, 2004 5:05 am    Post subject: Reply with quote

Anyone got a link!? I need / want tihs hack
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
AppleD00d



Joined: 05 Aug 2004
Posts: 1

PostPosted: Fri Aug 13, 2004 6:25 pm    Post subject: Reply with quote

Mann... I get an error saying this:

Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/tonitoni/public_html/catalyst/b2-include/b2edit.form.php on line 125


and heres what my b2 looks like:

'

please, does anyone know how to fix this?
Back to top
View user's profile Send private message
Joris



Joined: 14 Aug 2004
Posts: 1

PostPosted: Sat Aug 14, 2004 3:26 pm    Post subject: Reply with quote

Why is there no download link that works... Does anyone has this file mirrored, or can someone mail it to joris at dosgamesonline dot com?
Back to top
View user's profile Send private message MSN Messenger
INVERT3D



Joined: 09 Jun 2003
Posts: 9

PostPosted: Sun Aug 22, 2004 7:04 pm    Post subject: Re: there's no NEW custom field in post/edit!! Reply with quote

kaboom_kaboom wrote:
I have a big problem...
I installed the tables in the mySQL database (well i used to auto install thing) and I added/changed all the coding stuff, i created a custom field called 'music' and I generated the code for it & put it into my template & saved it.
BUT...the field wont appear in the post/edit thing. I've deleted the history, & the temp internet files, i've tried re-doing it, & re-uploading things & I tried all the things that people here suggested...nothing will work. my b2 version is 0.6.2 by the way.

any suggestions at all? i am really confused by this...


Yea, I'm having the same problem too. It worked for like 3 seconds then it went away.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Hacks All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5, 6, 7
Page 7 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group