HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Blog comments Unknown

Hi! Using the latest vanilla edition and I enabled blog comment embedding. I got it to work on the page I embedded the code. However, when I go to where the comment appeared on the forum (see below) I noticed the "Unknown" at the top. The link appears to be to profile 0 which is no one. I've tried searching here but cannot figure it out. Any ideas? Thanks!

http://www.melindaspenpals.com/asian-dating/discussion/43/filipina-dating-and-asian-singles-home

Comments

  • peregrineperegrine MVP
    edited June 2014

    Using the latest vanilla edition?

    maybe this will help

    http://vanillaforums.org/discussion/26710/x

    or this

    http://vanillaforums.org/discussion/26943/tutorial

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • edited June 2014

    Ok sorry, I should have said Vanilla 2.1 I just checked the download folder. The unknown is a link to /profile/0/

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Profile 0 is the super admin id . If you want you could in theory change the name of user 0 so it does not say Unknown.

  • @vrijvlinder said:
    Profile 0 is the super admin id . If you want you could in theory change the name of user 0 so it does not say Unknown.

    Actually it isn't there shouldn't be anyone with id 0. If there is something has gone wrong. ID should start at 1.

    grep is your friend.

  • Ok it tested it again with another user amarshalldwayne and it looks lke the same result. It shows his comment and his name correctly in the thread, But above the picture it pulled there is the "Unknown" again and the link is to profile 0 again.

    Here is the new link, sorry I accidently deleted the old one.

    http://www.melindaspenpals.com/asian-dating/discussion/45/filipina-dating-and-asian-singles-home#latest

  • Have you tried setting

    $Configuration['Garden']['Embed']['UserID'] = 1; // ID of the user you wish to use for articles. 
    

    grep is your friend.

  • Is there more than one config folder, because I cannot find this line of code?

  • x00x00 MVP
    edited June 2014

    Btw Unknown mean the user the was deleted directly out of the database, or never existed. Be very careful about doing that it can cause all manner of hurt.

    This was either the system user, or embed user if one is set.

    You need an super admin, in the admin column should be 2. Note down the ID you can save it to $Configuration['Garden']['SystemUserID']

    There should not be a row with 0 as ID.

    grep is your friend.

  • @kozmosis66 said:
    Is there more than one config folder, because I cannot find this line of code?

    No you add it to config.php

    grep is your friend.

  • Sorry, I'm confused between what you said about setting 1 for the user for articles, and the super admin column?

    I wonder if I have uncovered a deeper problem with the integration of the forum data base with my VLDpersonals.

  • edited June 2014

    I found this in the config.php file, so there is a super user.

    $Configuration['Garden']['SystemUserID'] = '2';

  • x00x00 MVP
    edited June 2014

    @kozmosis66 said:
    I found this in the config.php file, so there is a super user.

    $Configuration['Garden']['SystemUserID'] = '2';

    yes but does it exist in the the database, and is it active?

    grep is your friend.

  • If that was the one that sent out the first welcome message when I opened the forum I may deleted them. Can I just pick another active user and change the number in the file?

  • For the embed comments you probably want to explicit set

    $Configuration['Garden']['Embed']['UserID']

    However check to see if there is a user with 2 in the Admin column. If not pick one that you want to be super admin and put 2 in the admin column.

    Then set $Configuration['Garden']['SystemUserID'] to that user.

    Hope that helps.

    grep is your friend.

  • Thanks so muck for your time, when I can access the site files again I will try this and report back.

  • this thread explains a bit about system user and creation.

    http://vanillaforums.org/discussion/comment/209568/#Comment_209568

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Thanks I just made another super admin and it seems to be working fine.

Sign In or Register to comment.