vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Thread Thumbnails (https://vborg.vbsupport.ru/showthread.php?t=214755)

Null Parameter 06-01-2009 01:17 AM

Posting 6 times in under an hour isn't going to get me to reply any quicker, I can't be sitting at my computer every minute of every day.

I don't know what to tell you about the edit not working, because it has been working for everybody else. You could try uninstalling and reinstalling it, but besides that I can't really tell you anything else.

You can also try this version, it includes a little change to add the URL differently, more similar to the New Thread way. But besides that, I wouldn't even know where to start.

kalisekj 06-01-2009 01:31 AM

Sorry about the multiple posts, Dawned on me kinda late to just edit my thread and add in new info. More info on the problem though, if I create a thread and put in a thumbnail url (which works fine), then decide to edit the thread and change the url, it lets me edit the url and saves it fine. Example of how things are going, http://freeonlinemoviesforum.com/2009-movies-f126.html.


I appreciate any and all help you can give on this. I will try the new file you gave and let you know. :D
Ok I installed new file and allowed overwrite but appears nothing happened and no difference, also if new thread is moved to another forum i lose the ability to change the url or even add one. :(

Are there any different template edits I need to make with that new file?

Null Parameter 06-01-2009 02:17 AM

Quote:

Originally Posted by kalisekj (Post 1821055)
Ok I installed new file and allowed overwrite but appears nothing happened and no difference, also if new thread is moved to another forum i lose the ability to change the url or even add one. :(

Moving the thread to a different forum will remove the ability to change the URL because that second forum probably isn't in the list of forums in the ACP.

As far as not saving the information, I'm not sure what's going on. I'll keep looking into it, but at this time I don't have a clue.

kalisekj 06-01-2009 02:50 AM

I have enabled like 50 forums for the thumbnail, could that be causing the problem? Having too many forums enabled? This mod you made is truly AWESOME and exactly what I have been looking for on my site and works good on new threads made. I appreciate any and all help on this and any upgrades you may make, like if it will bring in the first attached image that will automatically bring in all posters for my site on activated forums. If you can do that then you can surely expect a donation from me for that solves all my problems and will make the site Look so much better. WooHoo!

Null Parameter 06-01-2009 02:58 AM

You could try just enabling it on one and see if that fixes the issue, but I don't think that will do it.

I'll be working on the attachment thing in the very near future, that's been requested a few times, so it's high on the priority list.

kalisekj 06-01-2009 01:35 PM

I did a little more digging into this, as I see it you are creating a db table "$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread ADD thumbnailurl varchar(250) NOT NULL");"
I checked my DB and there is not a Table_Prefix , nor a threadinfo, nor a thumbnailurl field

<td><input type="text" class="bginput" name="thumbnailurl" value="$threadinfo[thumbnailurl]

I think the problem is that the table was never created nor the field for the table so the info is not getting saved properly. Can you help me figure this out?

I manually created the Table "threadinfo" and put in the field "thumbnailurl" but it did not seem to make a difference.
http://i42.tinypic.com/29bkl6h.jpg

Null Parameter 06-01-2009 02:14 PM

You may or may not have a Table Prefix, that depends upon the database, but vBulletin should take care of that, this is how all of the vBulletin code works.

The db code you mentioned above adds the thumbnailurl column to the thread table, which I can see from the image does already exist. The $threadinfo doesn't reference the table itself, but a PHP variable that's defined to hold information retrieved from the thread table.

kalisekj 06-01-2009 05:35 PM

Hey Null where can I go to see if the url values are being written to the db?
I also had to manually add in thumbnailurl field to the Thread Table, still made no difference. :(
I manually inserted data into the thumbnailurl field for a particular thread and still the system is not bringing in the poster. So I am obviously looking in the wrong place for the db info on these thumbnails.
I also searched the entire db for one of the url's from a new post in which the thumbnail is working and see no results in the DB for that thumbnail, where is the system hiding this info?
Thanks for all your help on this.

MySQL client version: 4.1.22
MySQL charset: UTF-8 Unicode (utf8)

Null Parameter 06-01-2009 06:02 PM

From that screenshot you sent earlier, you'll have to search in the thread table using a threadid that you have attempted to set the thumbnail on. Then look for the thumbnail url field, there will either be a url there or there will be nothing.

kalisekj 06-01-2009 07:21 PM

Hi Null,
First off the thumbnailurl was not even a field in the Thread Table, I created the field manually in the Thread Table, input a image url on a particular thread and it did not show up when I edited that thread. I then took the url for the thread thumbnail that does work and did a complete search of the entire VB DB and it did not find the url. Although it did find the url I did put in manually. So I am missing something, mostly curious where is it writing the info to if not the Site's DB? Also shouldn't it pull the one thumbnailurl I manually put in the db?

I appreciate you helping me with this, :D
Maybe you could help me tell it to write and retrieve the url from the Table and field I created, I have created Table = Threadinfo with Field = thumbnailurl, I also put in Table = Thread the Field = thumbnailurl, with the same parameters I believe you intended to use.
I am sorry to be such a bother but this is very important to my website and its users and you would earn the gratitude of me and thousands of people all around the world for your help on this matter. :D


All times are GMT. The time now is 07:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01284 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete