Search Results for 'code'
-
Search Results
-
Topic: Quote
Hello. I ‘m new, and I am not a programmer, so please excuse me for the question.
Is there a way to insert the “quote” option in a bbpress post? I mean a button (or something like that) on each post. When a user what to reply quoting that post, simply has to click there.
There is a plugin, but If possible I would do it without a plugin. Is there a code to paste somewhere? If so, tell me the code and where (in a simple way so I can understand π )
Thanks a lot!
Problem 1:
Using builtin importer, whole system is being imported by phpbb3. Anonymous users who does not have any accounts are allowed for posting but they are showing up as anonymous, in the system.
I have collected theusernames_of_the_visitorsfromposts_from_current_usersand created those users, using a query:INSERT INTO wp_current_visitors (using_the_login) SELECT DISTINCT usernames_of_the_visitors FROM posts_from_current_usersStep 2:
I am creating multiple tables (in this case:3), some of the code is:SELECT ID FROM wp_current_visitors INSERT INTO current_live_posts(author_current_posts) WHERE current_live_posts(post_time_and_date) = posts_from_current_users(posted_time) AND posts_from_current_users(usernames_of_the_visitors) = wp_current_visitors(using_the_login)You can see this is not the correct way contain syntax errors. First I have to correct it. Second, I have to find a way to tell the mySQL that ID is connected with ‘using_the_login’ (see the first line). Am I right?
Please help in this regard?
Queries after up-gradation:
SELECT ID FROM wp_current_visitors SELECT post_time FROM posts_from_current_users = post_time_and_date SELECT post_username FROM posts_from_current_users = using_the_loginThe are working in the correct way. But, I don’t know where to insert the WHERE information correctly.Only possible solution in my mind is to create sub-queries.
Problem 2:
I am installing bbpress on my own(for the first time on a client website, as an evaluation task). I am creating a simple forum, with necessary plugins for login and flow control. But, an important requirement, I am unable to configure is that client wants to create a new page for each directory page. And whenever a new page is added, he wants to add a forum page, automatically. Like, if the directory page is Directory page of militarybases – Cheyenne mountain Air Force base Colorado Springs Colorado. When, he made the page using wordpress, it’s forum page like website/forum/cheyenne-mountain-air-force-base-colorado-springs-co automatically created.Is this possible? If yes, how will achieve this? Please don’t tell codes other than javascript and php. Please only provide the full solution, in case of others.
Hi,
I installed bbPress for my site which uses hueman theme.
But when I create the forums page including bbPress shortcode, the layout of the forums page is quite messy. But for another theme thentyfifteen, bbPress works fine.What can I do to solve this problem with hueman theme?
This is the forums page: https://trainsova.pitt.edu/forums
Topic: Redirect after subscription
Hi!
I’m trying to change the URL of the redirection after subscribing to a forum, based on where I’m coming from.I have subscription buttons on both the forum pages and a page with a list of all forums. When I subscribe from the forum page I want to stay there (it works fine), and when I subscribe from the list I want to go back to the list but instead I am redirected to the page of the forum I just subscribed to.
Looking at the comment in the code (“Redirect back from whence we came”) I feel like what I want to do is actually how it’s supposed to work but it’s not working for me (I fall in the last else).
Any idea how I could achieve this?
Thanks in advance!!This page is a great initiative to make explained each part.. but for me still has a problem…
I can’t identify those parts in the layout… could someone do a visual scratch for elements over some “twenty” template?
I really, really appreciate π
Topic: Problems with permissions?
Hi all i’m new to bbpress. I read lot of docs but i was unable to solve this issue
I’m setting up a forum for my website, i installed bbpress, created a forum, created a page with bbpres shortcode and now i’m able to see forum root clicking on the link in menu.
I can create discussions from backend but when i try to create a new topic from frontend, logged in as admin, i got “you don’t have permission to post”.
How could it be?
Hi,
Does anyone know how to use bbPress conditionals when bbPress is used for group forums? None of the bbp_is_ functions is working outside of the bbPress templates, and the point of the conditional functions is to have them work outside of the bbPress own template so that some other piece of code knows what is the page context. I am trying to use these functions inside the page BODY.
So, how to determine which forum is loaded as group forum, which topic is currently displayed, and anything else related to subpages for edit of topics and replies?
Milan