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 

"Add new fields" mod
Goto page Previous  1, 2
 
Post new topic   Reply to topic    boardom Forum Index -> Hacks
View previous topic :: View next topic  
Author Message
REL



Joined: 08 Sep 2002
Posts: 9
Location: Israel

PostPosted: Tue Sep 24, 2002 4:39 pm    Post subject: Reply with quote

or just use the .zip file Smile

does the hack work for u?
Back to top
View user's profile Send private message
Tara



Joined: 20 May 2002
Posts: 33
Location: Canada

PostPosted: Tue Oct 01, 2002 5:00 am    Post subject: Reply with quote

I set up the fields fine, but now I get the dreaded

Fatal error: Call to undefined function: addslashes_gpc() in /home/sweetsta/public_html/blog/blog.header.php on line 92
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
REL



Joined: 08 Sep 2002
Posts: 9
Location: Israel

PostPosted: Tue Oct 01, 2002 5:29 pm    Post subject: Reply with quote

this problem has nothing to do with my hack(i think so)...
anyway, try to add the following code to the file blog.header.php:
Code:
function addslashes_gpc($gpc) {
   if (!get_magic_quotes_gpc()) {
      $gpc = addslashes($gpc);
   }
   return($gpc);
}
Back to top
View user's profile Send private message
Tara



Joined: 20 May 2002
Posts: 33
Location: Canada

PostPosted: Wed Oct 02, 2002 3:08 am    Post subject: Reply with quote

Well, the eror message is gone, but the hack isn't showing up...

http://sweetstar.net/blog

There are just three blank spaces where I called the fields.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 797
Location: Corsica

PostPosted: Wed Oct 02, 2002 10:09 am    Post subject: Reply with quote

Erm, I have nothing in particular to say about this hack, but it's generally better to provide .zip and/or .tar.gz packages of scripts because people will always have something to uncompress them. Not the case with .rar files created with winrar 3.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
REL



Joined: 08 Sep 2002
Posts: 9
Location: Israel

PostPosted: Wed Oct 02, 2002 4:32 pm    Post subject: Reply with quote

i also provided a zip file...

mmmm i have no idea why it doesnt work for u Tara... sorry
Back to top
View user's profile Send private message
blorg



Joined: 23 Oct 2002
Posts: 1

PostPosted: Wed Oct 23, 2002 5:40 pm    Post subject: Reply with quote

i have the same problem.. the content of the fields do not show up.

http://fuck.open-minded.org/
Back to top
View user's profile Send private message
hellhound



Joined: 24 Oct 2002
Posts: 38

PostPosted: Tue Oct 29, 2002 5:22 am    Post subject: Reply with quote

its works at me.. i have new option.. i can creat a field BUT...
when i post a new entire.. i got this error...

Error in posting... contact the webmaster

also trackback and ping back not showing up anymore
Back to top
View user's profile Send private message
hellhound



Joined: 24 Oct 2002
Posts: 38

PostPosted: Wed Oct 30, 2002 5:08 am    Post subject: Reply with quote

GamerZ wrote:
i think is quite easy to hack the code to insert new field. IMHO


please how?
Back to top
View user's profile Send private message
Cine



Joined: 22 Sep 2002
Posts: 22
Location: Lost

PostPosted: Sun Nov 10, 2002 11:34 am    Post subject: Reply with quote

The zip don't work
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
dtdgoomba



Joined: 05 Aug 2002
Posts: 178
Location: Cambridge, MA

PostPosted: Thu Dec 12, 2002 4:45 am    Post subject: Reply with quote

I haven't tried this hack yet, but I was wondering if, and how much hacking I'd have to do, it's possible to add new fields that go with certain categories. For instance, when someone goes to blog for an 'events' category, they can put the date, if they go to 'movie reviews', they have a field for 1-5 stars etc

The reason I ask is b/c I've hard coded php (about a year ago when I was first learning php) for a site

http://www.goombalooza.com

and am looking to turn it into a b2 blog instead so it's easy to manage users, they can edit their stuff after they submit it, which they can't now.. so I have many good reasons to switch this site over, but haven't had the time to hack through all the code.

maybe it's easier to add the fields, then go into the b2edit and put some if statements to filter which fields show up when you select a cat?? I'm really just looking for advice, I doubt anyone is gonna hack this besides me
Back to top
View user's profile Send private message Visit poster's website
maelody



Joined: 27 Jul 2003
Posts: 3

PostPosted: Sun Jul 27, 2003 11:58 pm    Post subject: Reply with quote

i've installed everything and everything seems to be working fine, except when i use <?php getfield("new_link"); ?> on my template, the new fields i made (mood, music, book) aren't showing up. any ideas?
Back to top
View user's profile Send private message
TaintedPunk27



Joined: 14 Sep 2003
Posts: 5

PostPosted: Mon Sep 15, 2003 12:13 am    Post subject: Reply with quote

Neutral There is no b2addfield.php file in the rar...and the zip doesnt work.
Back to top
View user's profile Send private message
moose



Joined: 04 May 2003
Posts: 196
Location: Winnipeg Canada

PostPosted: Mon Sep 15, 2003 12:18 am    Post subject: Reply with quote

TaintedPunk27 wrote:
Neutral There is no b2addfield.php file in the rar...and the zip doesnt work.


maybe cuz the original file was posted last year Neutral
Back to top
View user's profile Send private message Visit poster's website
phreak



Joined: 13 Oct 2002
Posts: 7
Location: philippines

PostPosted: Wed Nov 05, 2003 9:40 am    Post subject: Reply with quote

Hey, the zip file cant be downloaded!
Any other download paths?
_________________
pH 2 is still acidic.

What if God was one of us?

I am a superman.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
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
Page 2 of 2

 
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