Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 30 Sep 2012, 20:51
Twilkey's Avatar
Twilkey Twilkey is offline
 
Join Date: Oct 2006
Issue auto converting image links to attachments

Just as the title says, I am having issues converting remote image links to attachments. I am trying to port a vB 3 product to vB 4. The below code pulls the URLs just fine, but during process_upload an error is thrown.

The error is "Fatal error: Field thumbnail_dateline is not defined in $validfields in class vB_DataManager_Attachment in [path]/includes/class_dm.php on line 515".

I have gone through many of the core files to see if I could figure out what is wrong, but nothing I have done has fixed the issue. SO I am going to try to see if any of you can tell what is wrong. Below is the code from the class file used.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Also, just in case, here are the 2 plugins file used to include the class.

Hookname - postdata_presave

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Hookname - threadfpdata_presave

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--------------- Added 01 Oct 2012 at 07:18 ---------------

I have a feeling that this code may be the wrong way to handle attachments in vB 4, so if anyone has an example of the new method vB uses to handle attachments, that would be good.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Resize Image Attachments (Avatars & Profile Pic Too).... mini2 vBulletin 3.0 Full Releases 66 12 Jan 2009 04:41



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:58.

Layout Options | Width: Wide Color: