Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Register Signup / Profile Menu in a external site navbar
LaughingQuoll
New
HI I was wondering how i could put (on my forums page (example.com/forums)) it either shows the register sign or your profile menu. I was wondering if I could put that on all my other pages eg help , homepage ect in the nav bar. I use vanilla 2 develop.
EG:
SITENAME | FORUM | HELP | REGISTER | SIGNUP or PROFILE PIC | USERNAME | dropdownmenu with info
0
Comments
for vanilla pages.
http://vanillaforums.org/addon/addmenuitem-plugin
Signin - http://example.com/vanilla/entry/signin
Register - http://example.com/vanilla/entry/register?Target=discussions
etc.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I have already done that but I want to know if I can embed the forums one with the memodule or somthing
oh ok, your question was not that clear. so my answer is probably.
you can put modules in the extrapages plugin.
http://vanillaforums.org/discussion/26656/help
for your externally created homegrown pages, there is nothing stopping you from creating a button with css and making a link to emuilate adding the module to your external site They both do the same thing.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
No but I want to know how to do this. If somone is not logged in it will show login or register. If their logged in on the forums it will show their profile menu
. hmm
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I said i use vanilla 2
there are millions of versions 2, what is the whole number...
Look at the bottom of the dashboard it should say what version...
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
avicus.net look at the nav bar thats what I mean. When you login it changes to a profile menu
The develop version
to add these modules to the other pages
if you have 2.1 add this in the head part of the page.
you can also add this to the page in the specific place you want it instead of the above
If you have 2.0
You don't have a MeModule but you could create one. You can also use the plugin MyTabs and add the plugin controller as a location for it to also appear there.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Their not part of the forums their external pages
Version 2.3a1
Thats the version i use
Then you copy the parts html from the source and paste them there.
You replace the relative links with the full url of the forum.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
That didnt work. Let me rephrase. When a person is not logged on in the forums for the rest of my site it shows the login register stuff but if they are logged in then it will show the profile menu like in the forums
That is an alpha version. It should not be used. You need to use 2.1b3 at this point.
The same answer works , just copy the links you want from the source code when you look at it using a web inspector,to paste elsewhere. Even if they go to profile, they can't do anything. You can also make it so they will be redirected if they try to access via that link.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
but that's not automated for when they login thats fixed and will remain like that even if they login
If you are doing this outside the forum, you need to put those restrictions on the links there.
In Vanilla, The links will point to those places but the non logged in user won't be able to do anything.
If you are putting these links outside the forum , you need to add those permission in the page you are putting them in.
That is why the Extra page plugin was recommended .Because it is an internal file and subject to the same rules.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
.
this is a simplistic - possibly not good way to determine if signed in or not.
here is a better way:
add the code below to any external pages - and read the comments in the code.
Make sure you have PATH ROOT defined correctly.
for getting external session info in a non-vanilla web page.
I added the links for you
lifted from shadowdare's code
http://vanillaforums.org/discussion/comment/195082/#Comment_195082
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I also added these I am sure they will be useful.
http://vanillaforums.org/discussion/18015/how-to-ask-questions-on-the-internet
when-asking-a-question
http://vanillaforums.org/discussion/25115/how-to-how-can-a-new-user-better-help-the-community-
and a few other helpful links:
http://vanillaforums.org/discussion/23130/forum-post-ettikett-etiquette
http://vanillaforums.org/discussion/17954/food-for-thought-forum-etiquette
http://vanillaforums.org/discussion/23483/advice-for-all-those-just-starting-out-with-vanilla
troubleshooting tips:
http://vanillaforums.org/discussion/20231/how-to-become-somewhat-adept-at-modifying-vanilla-
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
to display user photo on web page - change above portion of code to this.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.