View previous topic :: View next topic |
Author |
Message |
REL
Joined: 08 Sep 2002 Posts: 9 Location: Israel
|
Posted: Tue Sep 24, 2002 4:39 pm Post subject: |
|
|
or just use the .zip file
does the hack work for u? |
|
Back to top |
|
 |
Tara
Joined: 20 May 2002 Posts: 33 Location: Canada
|
Posted: Tue Oct 01, 2002 5:00 am Post subject: |
|
|
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 |
|
 |
REL
Joined: 08 Sep 2002 Posts: 9 Location: Israel
|
Posted: Tue Oct 01, 2002 5:29 pm Post subject: |
|
|
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 |
|
 |
Tara
Joined: 20 May 2002 Posts: 33 Location: Canada
|
Posted: Wed Oct 02, 2002 3:08 am Post subject: |
|
|
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 |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 797 Location: Corsica
|
Posted: Wed Oct 02, 2002 10:09 am Post subject: |
|
|
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 |
|
 |
REL
Joined: 08 Sep 2002 Posts: 9 Location: Israel
|
Posted: Wed Oct 02, 2002 4:32 pm Post subject: |
|
|
i also provided a zip file...
mmmm i have no idea why it doesnt work for u Tara... sorry |
|
Back to top |
|
 |
blorg
Joined: 23 Oct 2002 Posts: 1
|
Posted: Wed Oct 23, 2002 5:40 pm Post subject: |
|
|
i have the same problem.. the content of the fields do not show up.
http://fuck.open-minded.org/ |
|
Back to top |
|
 |
hellhound
Joined: 24 Oct 2002 Posts: 38
|
Posted: Tue Oct 29, 2002 5:22 am Post subject: |
|
|
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 |
|
 |
hellhound
Joined: 24 Oct 2002 Posts: 38
|
Posted: Wed Oct 30, 2002 5:08 am Post subject: |
|
|
GamerZ wrote: | i think is quite easy to hack the code to insert new field. IMHO |
please how? |
|
Back to top |
|
 |
Cine
Joined: 22 Sep 2002 Posts: 22 Location: Lost
|
Posted: Sun Nov 10, 2002 11:34 am Post subject: |
|
|
The zip don't work |
|
Back to top |
|
 |
dtdgoomba
Joined: 05 Aug 2002 Posts: 178 Location: Cambridge, MA
|
Posted: Thu Dec 12, 2002 4:45 am Post subject: |
|
|
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 |
|
 |
maelody
Joined: 27 Jul 2003 Posts: 3
|
Posted: Sun Jul 27, 2003 11:58 pm Post subject: |
|
|
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 |
|
 |
TaintedPunk27
Joined: 14 Sep 2003 Posts: 5
|
Posted: Mon Sep 15, 2003 12:13 am Post subject: |
|
|
There is no b2addfield.php file in the rar...and the zip doesnt work. |
|
Back to top |
|
 |
moose
Joined: 04 May 2003 Posts: 196 Location: Winnipeg Canada
|
Posted: Mon Sep 15, 2003 12:18 am Post subject: |
|
|
TaintedPunk27 wrote: | There is no b2addfield.php file in the rar...and the zip doesnt work. |
maybe cuz the original file was posted last year  |
|
Back to top |
|
 |
phreak
Joined: 13 Oct 2002 Posts: 7 Location: philippines
|
Posted: Wed Nov 05, 2003 9:40 am Post subject: |
|
|
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 |
|
 |
|