Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Links Manager For OSC v0.20 released


125 replies to this topic

#21 VJ

  • Community Member
  • 173 posts
  • Real Name:VJ
  • Gender:Male

Posted 26 May 2003, 08:18

Hi Allan,

Trust me, no one's going to laugh at you for trying something.

Ah, and here's something you can try,

    $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%';

    echo '                <td align="left" class="smallText" style="width: ' . $width . '" valign="top"><br> &raquo; <a href="' . tep_href_link(FILENAME_EXCHANGE_LINKS, 'lPath=' . $link_category_data['link_category_id']) . '" class="subCatLinks">' . $link_category_data['link_category_name'] . '</a>&nbsp;(' . $link_count . ')' . '<br>' . $link_category_data['link_category_description'] . '</td>' . "n";

    if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != tep_db_num_rows($link_category_query))) {

      echo '              </tr>' . "n";

      echo '              <tr>' . "n";

    }

  }


HTH :),
VJ

#22 allandk

  • Community Member
  • 16 posts
  • Real Name:Allan
  • Location:Denmark

Posted 26 May 2003, 10:19

Thanks mate :D

Allan

#23 falconpilot

  • Community Member
  • 55 posts
  • Real Name:Anthony
  • Location:Oklahoma

Posted 27 May 2003, 02:13

Can anyone help? I have inserted the file in my admin directory and nothing is happing. I dont see anything in my admin control panel that will allow me to control links. Is there something else I need to do. And yes....I am very new to osc and php. Thanks for your help..

falconpilot

#24 allandk

  • Community Member
  • 16 posts
  • Real Name:Allan
  • Location:Denmark

Posted 27 May 2003, 08:30

Quote

Can anyone help? I have inserted the file in my admin directory and nothing is happing. I dont see anything in my admin control panel that will allow me to control links. Is there something else I need to do. And yes....I am very new to osc and php. Thanks for your help..

falconpilot

i'm new at php also, but it was very easy. just follow the instructions in the readme.txt file. there are some more modifications listed in there.

ps: i know pilots don't like to read the instructions :wink: i normally fly for a living too.

regards allan

#25 VJ

  • Community Member
  • 173 posts
  • Real Name:VJ
  • Gender:Male

Posted 27 May 2003, 11:10

A bug in the admin interface that prevented the editing of link categories has been fixed. You can find the patch download at http://www.oscommerce.com/community/contributions,1256.

Many thanks to crshNbrn for reporting this bug :-).

VJ

#26 falconpilot

  • Community Member
  • 55 posts
  • Real Name:Anthony
  • Location:Oklahoma

Posted 27 May 2003, 15:11

Can someone tell me how I import 'reciprocal.sql' into my osc database. I am not seeing and import feature and I am not sure where it goes within my database. Thankyou.

falconpilot

P.S. Yes Allen your right.....pilots dont like to do much reading, we like to dive right in and learn seat of the pants. At least when we can.....:)

#27 allandk

  • Community Member
  • 16 posts
  • Real Name:Allan
  • Location:Denmark

Posted 27 May 2003, 15:40

Quote

Can someone tell me how I import 'reciprocal.sql' into my osc database. I am not seeing and import feature and I am not sure where it goes within my database. Thankyou.

I use http://www.phpmyadmin.net/ and http://mysqlfront.venturemedia.de/index.php

they make mysql operations easy

Allan

#28 sgflowers

  • Community Member
  • 333 posts
  • Real Name:kevin sullivan
  • Gender:Male

Posted 27 May 2003, 15:50

nice contrib thanks Vijay

- Kevin

one minor thing when creating a link categoey it asks for contact name and email address i don`t quit understand the purepose or how this is used

#29 falconpilot

  • Community Member
  • 55 posts
  • Real Name:Anthony
  • Location:Oklahoma

Posted 27 May 2003, 16:15

Allan,

I have been to those pages but how does that help me import an sql file into my sql database. Please be specific. Remember.....I am a newbie. Thanks

falconpilot

#30 allandk

  • Community Member
  • 16 posts
  • Real Name:Allan
  • Location:Denmark

Posted 27 May 2003, 16:34

download the script http://www.phpmyadmin.net/
install it on your server and you have a very easy admin interface to your mysql databases..

it has a function where you just select the import.sql file on your local computers harddrive and press submit - thats it.. database importet :-)

i'm a newbe too, and if i think it's easy - it's gotta be 8)

#31 falconpilot

  • Community Member
  • 55 posts
  • Real Name:Anthony
  • Location:Oklahoma

Posted 27 May 2003, 18:24

Yes, I already have phpmyadmin on my server but I dont see any function that imports sql files. Could you tell me specifically where that function is and what versioni of phpmyadmin your running. Sorry about the confusion but I am just not seeing it. Thanks again.

Nino

#32 allandk

  • Community Member
  • 16 posts
  • Real Name:Allan
  • Location:Denmark

Posted 27 May 2003, 18:49

my version is phpMyAdmin 2.3.0

1. select a database left drop menu
2. click "SQL" top-right menu

there it is..

#33 VJ

  • Community Member
  • 173 posts
  • Real Name:VJ
  • Gender:Male

Posted 28 May 2003, 09:49

Quote

one minor thing when creating a link categoey it asks for contact name and email address i don`t quit understand the purepose or how this is used

Kevin,

I've added a few redundant features just to make the program future-proof and to allow for some improvization.

Well, the idea with contact name/email fields during category creation is that users might be able to suggest categories (and leave their contact information behind) in future releases of the add-on. For now, you can safely fill those fields with any value you wish.

And, thanks for your comments :-).

VJ

#34 falconpilot

  • Community Member
  • 55 posts
  • Real Name:Anthony
  • Location:Oklahoma

Posted 28 May 2003, 17:38

VJ

I have installed everything and it seems to be working on my site however I am unable to control this contribution within the admin page. It does not give me an option to control the links contribution in the Administration column. What it shows me is this at the top of the Admin functions list: //VJ Links Manager for OSC v0.2 begin require(DIR_WS_BOXES . 'exchange_links.php'); //VJ Links Manager for OSC v0.2 end.

Can you please help ?

Thanks

falconpilot

#35 falconpilot

  • Community Member
  • 55 posts
  • Real Name:Anthony
  • Location:Oklahoma

Posted 28 May 2003, 18:05

VJ

Never mind. It was a problem in the coding of the column_left.php file. I fixed it and all works well. Great contribution. I do have a question about the links that are inputed via your contribution. Do you think search engine spiders will be able to follow these links using your contribution in order to help page rank.

falconpilot

#36 loxly

  • Community Member
  • 1,802 posts
  • Real Name:Deborah Carney
  • Gender:Male
  • Location:New York State

Posted 28 May 2003, 18:46

Yes they will. ;)

#37 falconpilot

  • Community Member
  • 55 posts
  • Real Name:Anthony
  • Location:Oklahoma

Posted 28 May 2003, 19:29

When a cutomer fills out the Submit Link form and hits the Continue button this is shown:

Warning: Cannot add header information - headers already sent by (output started at /home/propilot/public_html/includes/languages/english.php:370) in /home/propilot/public_html/includes/functions/general.php on line 29

Does anyone have any idea why it is giving me this warning? My site is at www.propilotgear.com so you can try it yourself. Please tell me what you think.

Thanks again.

falconpilot

#38 falconpilot

  • Community Member
  • 55 posts
  • Real Name:Anthony
  • Location:Oklahoma

Posted 28 May 2003, 22:03

Ok folks, I am trying desperately get this contribution working but have found another very aggrivating problem. Ever since I installed this contribution I am having trouble deleting product attributes for a given product. When I go to my Admin page then click on Catalog then click on Products Attributes, I am unable to delete product attributes about 95% of the time. That is the really weird part about it, everyonce in a while it will allow me to confirm a deleting but this is just not functional. Does anyone have any idea where coding changes have been made that would effect this deletion routine. It may be within products_attributes.php but Im not sure. VJ, please give me some thoughts. Thanks so much.

falconpilot

#39 VJ

  • Community Member
  • 173 posts
  • Real Name:VJ
  • Gender:Male

Posted 29 May 2003, 11:06

Hi Antony,

Had a look at your site. Looks like you have some stray characters in your includes/languages/english.php file. Please check if there are any newlines/spaces at the end of your english.php file and delete them.

Hope this helps,
VJ

#40 VJ

  • Community Member
  • 173 posts
  • Real Name:VJ
  • Gender:Male

Posted 29 May 2003, 11:07

... and oh, as for the issue you're experiencing with product attributes, I have no clue as to why it happens. The Links program uses seperate tables (independent of the other core osc tables), so database issues can be safely ruled out. I'll give it a closer look anyway.

Did you install any other mods recently?

Hope this helps,
VJ