Quantcast
  • Register
PhysicsOverflow is a next-generation academic platform for physicists and astronomers, including a community peer review system and a postgraduate-level discussion forum analogous to MathOverflow.

Welcome to PhysicsOverflow! PhysicsOverflow is an open platform for community peer review and graduate-level Physics discussion.

Please help promote PhysicsOverflow ads elsewhere if you like it.

News

New features!

Please do help out in categorising submissions. Submit a paper to PhysicsOverflow!

... see more

Tools for paper authors

Submit paper
Claim Paper Authorship

Tools for SE users

Search User
Reclaim SE Account
Request Account Merger
Nativise imported posts
Claim post (deleted users)
Import SE post

Users whose questions have been imported from Physics Stack Exchange, Theoretical Physics Stack Exchange, or any other Stack Exchange site are kindly requested to reclaim their account and not to register as a new user.

Public \(\beta\) tools

Report a bug with a feature
Request a new functionality
404 page design
Send feedback

Attributions

(propose a free ad)

Site Statistics

123 submissions , 104 unreviewed
3,547 questions , 1,198 unanswered
4,552 answers , 19,366 comments
1,470 users with positive rep
411 active unimported users
More ...

Can we have links to suggested edits, close votes, and reopen votes, at the bottom of every question?

+ 3 like - 0 dislike
956 views

Can we have the following links at the bottom of every question, along with answer, comment, etc. ?   

It is not enough to make this for the navbar only.          

This can be done through a few lines of javascript/jquery.  

$(".qa-q-view-buttons").append("<a class='qa-form-light-button qa-form-light-button-edit' href='http://psiepsilon.wikia.com/wiki/PhysicsOverflow.org/review/edit-suggests'>suggest edits</a>");                           
$(".qa-q-view-buttons").append("<a class='qa-form-light-button qa-form-light-button-close' href='./index.php?qa=4533&qa_1=requests-for-close-votes-close-review-queue'>vote to close</a>");                             
$(".qa-q-closed .qa-q-view-buttons").append("<a class='qa-form-light-button qa-form-light-button-reopen' href='./index.php?qa=4532&qa_1=requests-for-reopen-votes-reopen-review-queue'>vote to reopen</a>");      
$(".qa-a-item-buttons").append("<a class='qa-form-light-button qa-form-light-button-edit' href='http://psiepsilon.wikia.com/wiki/PhysicsOverflow.org/review/edit-suggests'>suggest edits</a>");                             
$(".qa-q-closed .qa-form-light-button-close").css({"display":"none"});     

 From the last time I have suggested it, I have made improvements to the script so that it does not display "Vote to close" on closed questions or "Vote to reopen" on open questions.  Here is a screenshot of this question with this script enabled: 

asked Feb 26, 2014 in Feature Request by dimension10 (1,950 points) [ revision history ]
retagged Mar 2, 2014 by dimension10

Done, using our new PhysicsOverflow theme !

Coool, many thanks :-D !

@polarkernel Thanks. However, I see a bug.      

It seems that despite the fact that the jQuery is supposed to append the suggested edits button to the bar, the suggested edits button is only appearing for questions, not for answers.  Are you sure you have copied all the lines of code in the question?    

Fixed. Was so happy that it worked that I did not test the whole code.


 

@polarkernel Thanks, but now the "vote to close" button appears for answers, while only "suggested edits" should.     

(fixed now)  

Your answer

Please use answers only to (at least partly) answer questions. To comment, discuss, or ask for clarification, leave a comment instead.
To mask links under text, please type your text, highlight it, and click the "link" button. You can then enter your link URL.
Please consult the FAQ for as to how to format your post.
This is the answer box; if you want to write a comment instead, please use the 'add comment' button.
Live preview (may slow down editor)   Preview
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
If you are a human please identify the position of the character covered by the symbol $\varnothing$ in the following word:
p$\hbar$ysicsOver$\varnothing$low
Then drag the red bullet below over the corresponding character of our banner. When you drop it there, the bullet changes to green (on slow internet connections after a few seconds).
To avoid this verification in future, please log in or register.




user contributions licensed under cc by-sa 3.0 with attribution required

Your rights
...