intval / phpguide Goto Github PK
View Code? Open in Web Editor NEWThe code for the Israel php community (phpguide)
Home Page: http://phpguide.co.il
The code for the Israel php community (phpguide)
Home Page: http://phpguide.co.il
In fact it attempts to redirect to the post's page, but due to approved=0 mark it isn't publicly avaialable.
Required fix: allow author to see his post even when approved=0
maybe this the time for add this, no?
The solution: add to the according controllers this line of code
$this->pageTitle = "whatever";
only answers are.
Allow editing the question text please.
Currently no pagination available there
Is there any chance you'll agree to go Laravel and refactor? I'm willing to do the work myself, in fact.
P.S. If so, let's wait until L4 is released as stable. Shouldn't take long now.
Hi Alex,
You have a problem in the pagination at the QnA section.
For exmaple:
Try to move to another page, and afterwards click on another page.
You'll get this url:
http://phpguide.co.il/qna/qna/?page=3
which will lead you to 404 page.
btw,
respect you for your site. awesome!
in Models/User/getNewForumPostsCount.
Havent looked at SMF board implementation of those.
Unauthorized user submitted a blog post
than proceeded to registration, picking himself a username,
but no updated name shown on the homepage in the author clause of a blog post,
though it does update at the bottom of the page.
For some reason, logon cookies don't leave as long as expected.
In fact, the do exist until 2013, but visiting the page with the cookie (when session is timed out) don't get you authorized.
Though supposed to be. Some JS error ?
I think its very good to add this option on qna..
Write new question's titel, leave body empty, try to submit -> get plain english validation error in array.
Solution: allow empty question body. Sometimes the question title is enough.
If someone leaves a comment on a post which later being disapproved from publication
the comment still appears on the recent events list on the sidebar,
but model's restrictions do not let it to fetch the post's url and title,
thus accessing them when outputting the comment text leads to 500 error
I installed now this system on my pc, and i setup on subdomain.
And the qna item link not work ok (just in main one).. so i test to use with $this->createUrl()
and i get /qna/view?id=..
What need to fix this?
Unauthorized user entered his name in the corresponding field in the new post form,
but name wouldn't save.
There are people who might want to publish in this website tutorial series (only the introduction or something like that), but still to publish them in their blog (or somewhere else) without harming their blog's SEO (or this website's).
I know that I want that option. Maybe other people also want this ability.
I would have written it myself (and I don't think it's complicated), but I don't know anything about YII. I use Laravel...
Thanks in advance. :)
Currently there is no indication whether someone had reacted on the question or added a new answer
without remembering how many answers each question had.
Should add indicator (New answer since last visit)
Instead of updating views counter for every page refresh in question view -
update only once per user session.
IE 6/7 refuses to render the page ( html5 markup)
[if IE 8]
)I'm wondering why...
I can't use now with the codes..
CDbCommand failed to execute the SQL statement: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'last_activity' in 'order clause'. The SQL statement executed was: SELECT
t
.qid
AS t0_c0
, t
.subject
AS t0_c1
, t
.bb_text
AS t0_c2
, t
.html_text
AS t0_c3
, t
.authorid
AS t0_c4
, t
.time
AS t0_c5
, t
.status
AS t0_c6
, t
.views
AS t0_c7
, t
.answers
AS t0_c8
, t
.last_answer_time
AS t0_c9
, author
.real_name
AS t1_c2
, author
.login
AS t1_c1
, author
.email
AS t1_c6
, author
.id
AS t1_c0
FROM qna_questions
t
LEFT OUTER JOIN users
author
ON (t
.authorid
=author
.id
) WHERE (status!="hidden") ORDER BY last_activity DESC LIMIT 7
When visiting as guest and then logging in - user's avatar would disappear magically from the database.
I have a suggestion: change the bbcode format in markdown format
markdown much more convenient and easy from bbcode.
markdown: [This link](http://example.net/)
bbcode: [url=http://example.net/]This link[/url]
markdown: **hey**
bbcode: [b]hey[/b]
integrated with chat ;)
Hey alex.. I think you need to add rank points in the site, for our work here atm. :)
Should limit number of comments per second an user could post
Currently the information displayed on user info page is not editable.
User cant change his name / date of birth / web site / about
empty form is shown though. Interesting why..
Hello!
I`m wrote a few articles to the website, but I found that is a really hard to styling the article.
If the articles were on English - so OK. lets keep the BBCode editor.
but because we wrote on Hebrew - the english BBCodes mess all the text...
So I suggest using the CKEditor for WYSIWYG editing.
And if you want to edit your article - so we use the inline editor...
I can install and configure that on my own - I just want your approve.
PS: the WYSIWYG can be translating to BBCode! like on this example: BBCode demo
So what are YOU think? :)
Hey alex.
I think we need add new box with count number of the comments per articles..
What you think about this?
Every user should be able to mark a qna post AND a blog post as favorite and have his own favorites page
for easier recurring access
What you think about this? :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.