Further back in the list I redid it and posted my changes in an attachment. My updates were to make it work with register globals off... There is still some bugs with the way it uses category descriptions which I do not use so I did not look deep into them...
actually, I just sent him copies of my files... I'm pretty sure there was some fix I did a while ago to the links_show_cat.php file that enabled the sub-cats showing on the main index.... but it was so long ago, it was easier for me just to send JC my files.
I just installed Links v1.5 to my UBB.Threads v6.4, and I am having the same problem that Pasqualist had. What I don't understand is, what do you mean by "Your tables do not exist try these through phpmyadmin"? How or where do I find this phpmyadmin?
[]Omegatron said: Your tables do not exist try these through phpmyadmin
there are different ways of accessing your MySQL tables, it just depends on your host and how it's all set up. On all the sites I run, I am able to access phpmyadmin from the cpanel. If you can't find it there, you can download it from http://www.phpmyadmin.net/home_page/ and follow the installation instructions. Make sure to put some security controls on the directory you install it to, though (.htaccess file). Or you can go download MySQL-Front 2.5 from http://www.bumpersoft.com/Programming/Databases_and_Networks/Review_982_index.htm (you have to allow remote access to the database to get this to work...). Either one will work for you. There are other options as well, I'm sure. Those are just the two most convenient ones for me.
Isn't the lastest and greatest release of this mod supposed be included in the first post. I thought that was the protocol. I am having the same issue where adding sub categories become catagories. Does anyone have the fix?
[]ekempter said: Isn't the lastest and greatest release of this mod supposed be included in the first post. I thought that was the protocol. I am having the same issue where adding sub categories become catagories. Does anyone have the fix? [/]
I fixed this in links_admin.php in function add_sub_cat.
To: $query = "INSERT INTO {$config['tbprefix']}links_categories (parent_id, title, cat_desc) VALUES ('$parent_id', '$title', '$description') ";
I also found that if you had sub categories but no category description the first sub category was needlessly indented. To resolve this, I added a <br /> to links_show_cat.php
Change: # Make sure we have something to print. if ($i <= $Numberofcats) { print " <td valign="top"><img src="{$config['phpurl']}/images/folder-c.gif" alt="" /> <font size="2"><b><a href="links.php?op=List_Links&cat_id={$cats['cat_id']}&parent_id={$cats['parent_id']}&title={$cats['title']}"><u>{$cats['title']}</u></a></b></font><br /> <font size="1">{$cats['cat_desc']}</font> ";
To: # Make sure we have something to print. if ($i <= $Numberofcats) { print " <td valign="top"><img src="{$config['phpurl']}/images/folder-c.gif" alt="" /> <font size="2"><b><a href="links.php?op=List_Links&cat_id={$cats['cat_id']}&parent_id={$cats['parent_id']}&title={$cats['title']}"><u>{$cats['title']}</u></a></b></font><br /> <font size="1">{$cats['cat_desc']}</font><br /> ";
The email that is sent needs to be changed to use the From e-mail addresss specified within the config settings 'contact email address' field. I didn''t have time to fix this one.
I'm sure that others would appreciate it if the first fix was included in the release.
hey guys, i get this problem after i've installed it.
Warning: main(main.inc.php): failed to open stream: No such file or directory in /home/fordmond/public_html/ubbthreads/links.php on line 52
Fatal error: main(): Failed opening required 'main.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fordmond/public_html/ubbthreads/links.php on line 52
yep, i have searched these forums, but all i get are sql errors from threadsdev when submitting it, weird.
It looks like you are trying to create tables which already exit. Have you already used this mod? If so you don't need to create the tables, they should already be there.
[]http://www.calpernia.com/ubbthreads/images/icons/grnlite.gif[/] * Hi all. Love the idea of this mod, I modded a very simple guestbook script to do something similar in a much less cool way, looking forward to replacing it with this. After several tense hours of struggling to install the five different versions of this script linked in this thread and guess which fixes applied to which version, I got something up and running, but upon trying to add a link I get this message: [] -- Your email address does not appear to be valid. Please check the format and try again[/] * I don't need it to validate email anyway since it's using the email on record for the user, but I suspect the issue is the globals thing that made it impossible to even submit a category until I added that get_input reference to the header. Is there a similar ref I can put into the links_submit to keep these variables from blanking out? * As someone suggested, it would be a good idea to remove the non-working attachments here, at least. This is such a good mod it seems that lots of people want to try and use it.
The links_submit_link script doesn't like caps in email addresses. Like you said, there isn't a reason for it to be validating the email address anyway so I took mine out.
Under: // Check to see if the form was filled out completely Comment out (//) the following - From: if (!valid_email($email)) To: } (right after exit which is approx 4 lines down).
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.