11
builderb
Re: File Upload Hack?
  • 2004/12/15 18:25

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


*Bump*

I'm willing to pay someone to implement this hack on one of our modules.

If you're interested please PM me.

Thanks,

-Builderb



12
builderb
File Upload Hack?
  • 2004/12/14 23:15

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


Is there a hack to add a file upload utility on a submission page?

I would like to add the ability for our users to upload images for various modules.

Thanks in advance.

-Builderb



13
builderb
Re: xdirectory - yellow pages location feature
  • 2004/9/25 0:39

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


I would make each state/province a category then make the cities subcategories for each state/province then create subcategories under each city with the appropriate categories for the businesses you want to display.

example:

USA
--Alaska
--California
----San Francisco
------Arts and Entertainment
--------Art Galleries
--------Antiques
----Sacramento
------Arts and Entertainment
--------Art Galleries
--------Antiques
----Los Angeles
------Arts and Entertainment
--------Art Galleries
--------Antiques
--Idaho

That would be the easiest way to achieve what you want.

-builderb



14
builderb
Re: xdirectory import thru phpMyAdmin
  • 2004/8/10 4:07

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


there is another table: xdir_text. This is where the description and hours information is held and if they don't exist with a matching lid field then your entries will not show up.

what I typically do is export the xdir_links db and take only the lid field then import that into xdir_text that way my data will get displayed.

Hope this helps

-b




15
builderb
Re: Ok Need help now, I'm sinking fast
  • 2004/7/21 15:18

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


I believe the file that handles text formating is located here:

/class/module.textsanitizer.php

Let me know how it works out.

-builderb




16
builderb
Re: XDirectory Problem - address fields don't add to dbase
  • 2004/7/6 4:17

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


you will also need to make this change to modlink.php.

@ line 64 replace the following:

$url = $myts->makeTboxData4Save($HTTP_POST_VARS["url"]);
$logourl = $myts->makeTboxData4Save($HTTP_POST_VARS["logourl"]);
$cid = intval($HTTP_POST_VARS["cid"]);
$title = $myts->makeTboxData4Save($HTTP_POST_VARS["title"]);
$description = $myts->makeTareaData4Save($HTTP_POST_VARS["description"]);


With this code:

$url = $myts->makeTboxData4Save($HTTP_POST_VARS["url"]);
$logourl = $myts->makeTboxData4Save($HTTP_POST_VARS["logourl"]);
$cid = intval($HTTP_POST_VARS["cid"]);
$title = $myts->makeTboxData4Save($HTTP_POST_VARS["title"]);
$description = $myts->makeTareaData4Save($HTTP_POST_VARS["description"]);
$address = $myts->makeTboxData4Save($HTTP_POST_VARS["address"]);
$address2 = $myts->makeTboxData4Save($HTTP_POST_VARS["address2"]);
$city = $myts->makeTboxData4Save($HTTP_POST_VARS["city"]);
$state = $myts->makeTboxData4Save($HTTP_POST_VARS["state"]);
$zip = $myts->makeTboxData4Save($HTTP_POST_VARS["zip"]);
$country = $myts->makeTboxData4Save($HTTP_POST_VARS["country"]);
$phone = $myts->makeTboxData4Save($HTTP_POST_VARS["phone"]);
$fax = $myts->makeTboxData4Save($HTTP_POST_VARS["fax"]);
$email = $myts->makeTboxData4Save($HTTP_POST_VARS["email"]);
$url = $myts->makeTboxData4Save($HTTP_POST_VARS["url"]);
$premium = $myts->makeTboxData4Save($HTTP_POST_VARS["premium"]);



17
builderb
Re: XDirectory Problem - address fields don't add to dbase
  • 2004/7/6 4:14

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


Yes, Here is the fix for the submit.php file.

@ line 79 replace the following code:

$url = $myts->makeTboxData4Save($url);
$title = $myts->makeTboxData4Save($HTTP_POST_VARS["title"]);
$description = $myts->makeTareaData4Save($HTTP_POST_VARS["message"]);
$date = time();

with this:

$url = $myts->makeTboxData4Save($url);
$title = $myts->makeTboxData4Save($HTTP_POST_VARS["title"]);
$address = $myts->makeTboxData4Save($HTTP_POST_VARS["address"]);
$address2 = $myts->makeTboxData4Save($HTTP_POST_VARS["address2"]);
$city = $myts->makeTboxData4Save($HTTP_POST_VARS["city"]);
$state = $myts->makeTboxData4Save($HTTP_POST_VARS["state"]);
$zip = $myts->makeTboxData4Save($HTTP_POST_VARS["zip"]);
$country = $myts->makeTboxData4Save($HTTP_POST_VARS["country"]);
$phone = $myts->makeTboxData4Save($HTTP_POST_VARS["phone"]);
$fax = $myts->makeTboxData4Save($HTTP_POST_VARS["fax"]);
$email = $myts->makeTboxData4Save($HTTP_POST_VARS["email"]);
$url = $myts->makeTboxData4Save($HTTP_POST_VARS["url"]);
$premium = $myts->makeTboxData4Save($HTTP_POST_VARS["premium"]);
$description = $myts->makeTareaData4Save($HTTP_POST_VARS["message"]);
$date = time();





18
builderb
Re: XDirectory Problem - address fields don't add to dbase
  • 2004/6/30 15:12

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


I would need to look at the code in the submit.php page as well as the DB Structure.

If you want, I can take a look at your site but I'll need better access.

Let me know

-Builderb



19
builderb
Re: Yellow Pages module out now..
  • 2004/6/29 0:32

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


No, There will be an update to the free xDirectory. The proposed updates will be:

-Alphabetical listings
-Better premium listings

I'm still considering all the options for releasing the full version.

-builderb



20
builderb
Re: Yellow Pages module out now..
  • 2004/6/28 18:33

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


Thanks Herko,

This is exactly why I haven't publicly released my current version for free OR for a fee. I think the current version available for download (1.5) does what most site owners need and it's free.

I don't want to ruffle any feathers.

Thanks,

-Builderb




TopTop
« 1 (2) 3 4 5 ... 14 »



Login

Who's Online

182 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 182


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits