• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Previous Files are referenced on new attachment selection.

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Previous Files are referenced on new attachment selection.

    • Issue Tools
      • View Changes
    1. issueid=5390 April 8, 2018 10:53 PM
      tommythejoat tommythejoat is offline
      Regular Member
      Previous Files are referenced on new attachment selection.
      When trying to upload a group of attachments, they get confused and new image replaced by old

      I was trying to create a newsletter and needed to upload a series of pictures to include in the article.

      For example I uploaded a picture of a clock movement and filed it as an image article in a new area I set up for image content. After loading one or two more, the upload got stuck and continues to upload the same image over and over regardless of what image I select from the source the new image is being uploaded from.

      I have cleared the browser cache and cleared VaultWiki cache and have not been able to come up with a work around.

      Using the Wiki to store and source newsletters is an important new application for us. It worked reasonably well a week ago when I was inserting images in the article as it was created,but now that I have been trying to put the images for the application in their own area, it has stopped working everywhere.

      I believe if you follow this link and try to upload an image with Create New Attachment you will see the same behavior. https://mb.nawcc.org/wiki/News-Pix
    Issue Details
    Issue Number 5390
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Attachments
    Status Cannot Reproduce
    Priority 3 - Loss of Functionality
    Affected Version 4.0.20
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags attachments




    1. April 9, 2018 2:50 PM
      pegasus pegasus is offline
      VaultWiki Team
      Please provide specific steps to reproduce this. I just tried the following on your site and it worked flawlessly:
      1. Navbar > Create New Page
      2. In editor, click Wiki Upload button.
      3. +New Attachment.
      4. Select a unique image and Save.
      5. Insert into editor.
      6. In editor, click Wiki Upload button.
      7. +New Attachment.
      8. Select a unique image and Save.
      9. Insert into editor.
      10. In editor, click Wiki Upload button.
      11. +New Attachment.
      12. Select a unique image and Save.
      13. Insert into editor.

      In each case, the editor successfully received the correct image reference, and each time the uploader reopened it was blank and ready for another. I even previewed the page to make sure and the result was three unique images in the preview.

      I also tried this starting from the Create New Attachment link at the page you suggested, using the editor button there to upload the extra images, since maybe there was an issue when two uploaders are active at once. But this also worked for me when I tried.

      I also tried making sure to use duplicate titles in order to cause an error in the uploader. I thought maybe it was getting stuck if the uploader returned an error. But this also worked for me when I tried.

      The only thing I see that is relevant to your report is an error log message thrown by you yesterday that occurred while uploading:
      finfo::file(/tmp/phpkr3iNS): failed to open stream: No such file or directory
      This is unusual; basically the file you uploaded was deleted from the server before VaultWiki could read from it. If this is what was causing your issue, it is unlikely that is an issue with VaultWiki. It might be a server problem or maybe a problem with that specific file. Possibly if that file is actually on the server, it might have been stored on a bad hard disk sector. Please try emailing the file to our "support" address, and we can investigate if there is a problem with the file.
      Reply Reply  
    2. April 12, 2018 2:13 AM
      pegasus pegasus is offline
      VaultWiki Team
      Among the +Create New buttons in the wiki, you should see an option called Start New Feed.

      You would name your feed, "Newsletters" or something like that, and set it as a Global Feed (vs a Personal --or private-- Feed). In the ordering options, you want your feed to be ordered by when content was added to the feed. Put a link to this feed in a location your users will see it.

      Whenever you want to send a new newsletter, you would go to the feed, and select Add Entry > Add New Page. The page content should be your newsletter. When you save the page, it should notify users who are subscribed/watching the feed that a new newsletter was added.

      Or, you can have an area called "Newsletters" and follow a similar process (where the users would watch the area), but the ordering options for feeds are better suited to this.
      Reply Reply  
    3. April 13, 2018 11:29 AM
      tommythejoat tommythejoat is offline
      Regular Member
      OK, I have been confused by the RSS icon and its use. When I click on it, I get XML contents displayed and do not know where to go from there.

      I think you are telling me that subscribing to a feed is handled by the "Watch" options for the feed I have created. To send out a weekly newsletter, the users would be subscribed to the feed with the option Alerts and Weekly email notification and the content New child pages.

      Is there a mechanism to add 8,000 emails and names to the subscriptions for a feed?
      Reply Reply  
    4. April 13, 2018 11:57 AM
      pegasus pegasus is offline
      VaultWiki Team
      RSS is definitely another option, but it requires that the user has an RSS reader installed on their device and the user has to subscribe using the icon you clicked. The reader would then notify the user whenever there are new entries.

      Otherwise, yes, I was referring to the users needing to watch the feed with the "Watch" options. It is definitely possible to automatically subscribe a bunch of forum users to a feed based on their email address, but this would require custom code. There is no "import list of email addresses as subscriptions". The script is relatively simple:
      Code:
      $feedid = 123; // the numeric ID of the feed here
      $feedtypeid = vw_Hard_Core::model('Node')->id('Feed');
      
      foreach ($emailAddresses AS $email)
      {
      	$user = vw_DB::get()->query()->select(array(
      		'fields' => array('user_id'),
      		'table' => 'xf_user',
      		'where' => vw_DB::get()->query()->eq('email', "'" . vw_DB::get()->func()->escape_string($email) . "'"),
      		'first' => 1
      	));
      
      	if ($user)
      	{
      		$dm = vw_Hard_Core::controller('DM')->create('Subscribe', 'SILENT');
      		$dm->set_info('is_automated', 1);
      
      		$dm->set('userid', $user['user_id']);
      		$dm->set('nodetypeid', $feedtypeid);
      		$dm->set('nodeid', $feedid);
      		$dm->set('notifytype', 3);
      		$dm->set('options', 4);
      
      		if ($dm->pre_save())
      		{
      			$dm->save();
      		}
      		unset($dm);
      	}
      }
      If all you have is a list of emails and the subscribers are not actually forum users, then the only option would be a custom script that performs the entire newsletter process (fetching news from the wiki, constructing the newsletter mail, and sending it to all the email addresses; of course, managing un-subscribes as well).
      Reply Reply  
    5. April 13, 2018 2:44 PM
      tommythejoat tommythejoat is offline
      Regular Member
      I was actually planning to use the feed I created with your previous instructions to subscribe users to the newsletter. Most of the 8,000 are already registered and the rest are members of our association that I could register with a script. I would like to just be able to email them the page when it triggers the alert email but I do not know how full the alert notice can be.

      I was looking at RSS as an alternative that might be easier for them. However, since I cannot understand it, I suspect my largely over 70 group of users will have problems also. I am trying to get the RSS using Outlook and it tells me to enter the URL of the feed. When I try to enter https://mb.nawcc.org/wiki/Executive-...kly-Newsletter I get an error that my credentials are insufficient from Outlook.

      If I click on the RSS feed at the top of my home screen I get this URL https://mb.nawcc.org/forums/-/index.rss and that seems to be accepted by Outlook. i created that feed in Outlook and it sent me the last 50 posts in my forums in a new folder named after my message board.

      If I could figure out how to get the wiki to behave the same way, I would like to explore that further.
      Reply Reply  
    6. April 13, 2018 7:49 PM
      pegasus pegasus is offline
      VaultWiki Team
      IIRC, the alert notices are very basic, the name of the feed the user is subscribed to, the name of the content that was added, and links to both.

      It seems like RSS might be the best option for you. I believe that we can easily tweak the RSS output for wiki feeds so that it includes a plain-text version of the newsletter.

      The wiki feed that is having trouble in Outlook is not accessible if you're not logged in (Outlook isn't logged into your forum). This is due to the permissions on that part of the wiki. Guests must have permission to view your Official Newsletter area and its contents (a quick look at your Wiki Permissions shows this is not the case). It looks to be inherited from the main permissions for guests.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 3:27 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.