Armin100
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Pages using forms: ProblemDo I need to make a wordpress loop?
Forum: Fixing WordPress
In reply to: Question: PHP VariablesAlright, thank you for your help. Its better not to proceed due to possible exploits.
Forum: Fixing WordPress
In reply to: Question: PHP VariablesBasically i got the poll code right from the Make Poll option in admin cp wp polls. I took the form and put it into a page template and it works. I also took the quickpress widget code for the posting form and put it on a page template and that worked as well. Then i tried combining them into 1 form rather than 2 which wasn’t possible due to the different form actions.
Also the poll id field you see, I did retrieve the latest poll id and put it into the hidden form which would embed into the post content. But that technique isn’t effective if 2 persons are creating a poll at the same time since it would retrieve the most recent poll id. I need to set a session or cookie which i tried and was unsuccessful at that too. Im just stating my trial and error.
Forum: Fixing WordPress
In reply to: Question: PHP VariablesI used your code for a while and it was great but its a pain to create the poll then go to “Manage Polls” to obtain the “Poll ID” and then embed it in the quickpress widget. Why not have it all in one. One form that does makes the poll, embeds it into the post with one submit.
I have posted both the forms that I used and if you could remember my previous problem, due to 2 different action forms, I would have to have 2 separate forms with 2 different submit buttons.
Code: https://wordpress.pastebin.com/rqvxAatz
I tried setting up a hidden field, Where it says Poll ID, this takes the latest poll id and submits it with the post (notice it is incomplete due to problems i had). Another problem with that hidden poll field is that if another person is creating a poll at the same time, it might get the wrong poll id so I tried setting up a cookie or session and that attempt was unsuccessful as well.
I also tried a variety range of other ways to do this but I remain unsuccessful.
If you can direct me to the right path or anything that will help me towards my objective. That would be really appreciated. Thank you.
Forum: Fixing WordPress
In reply to: Question: PHP VariablesThe code is incomplete due to several problems. The main objective I’m trying to do is make a custom form that combines WP-Polls with QuickPress widget. Instead of two forms doing two different objectivesI am trying to make one objective. A single form that creates the poll and submits into the post.
I’ve tried several options but I always encounter a problem. If you can direct me to the correct path it would be helpful because I keep having to start from scratch.
Forum: Fixing WordPress
In reply to: Question: PHP VariablesWhat I am trying to actually do is really confusing to even explain so Ill give this example.
Say you have a form that submits a variable into a post. The variable is called counter and it increases by one every day. You create another post, and say the counter displays the number 2 for the second day, you submit it. Then you go and check the previous post which should display the number 1 for counter but displays 2 instead. Then you go and create another post for the third day so counter would be 3, then you go to previous two posts and you see that the counter have been changed to 3 as well instead of the 1 and 2.
That is the problem. When i submit the form to make the post, the form submits counter instead of its value.
Forum: Installing WordPress
In reply to: WordPress 3.0 Installation: Theme ProblemI contacted him and i got no answer, so I basically downgraded.
Forum: Installing WordPress
In reply to: How do I downgradethanks works fine for now.
Forum: Installing WordPress
In reply to: How do I downgradeThanks, it went smoothly but when I go to wp-admin, I get this message:
“Database Upgrade Required
WordPress has been updated! Before we send you on your way, we have to upgrade your database to the newest version.
The upgrade process may take a little while, so please be patient.
Upgrade WordPress Database”
Should I proceed?
Forum: Requests and Feedback
In reply to: Thanks WordPress, 3.0 upgrade worked like a charm!lucky you guys. The upgrade basically disabled my theme css for some unknown reason.
Forum: Fixing WordPress
In reply to: How to downgrade back to 2.9.2 from 3.0I need to downgrade too, How can I do this.
Problems have occurred with my theme due to this upgrade.
Forum: Installing WordPress
In reply to: WordPress 3.0 Installation: Theme ProblemI have contacted the theme author.
What do you mean that style.php is throwing a 404 error.
This opens fine for me: https://www.ivotepolls.com/wp-content/themes/comfy/style.phpForum: Installing WordPress
In reply to: WordPress 3.0 Installation: Theme ProblemYes it does exist.
https://www.ivotepolls.com/wp-content/themes/comfy/style.php
It then imports this file
https://www.ivotepolls.com/wp-content/themes/comfy/styles/default/stylesheet.css
Forum: Installing WordPress
In reply to: WordPress 3.0 Installation: Theme ProblemFrom what i saw, style.php is imports other stylesheets which belong to other parts.
It imports:
rtl.css
global.css
menu.css
reset.css
layout_options.css
category.css
comments.css
sidebar.css
widget_header.png
header.css
footer.css
stylesheet.css (Core stylesheet)
layout.css
featured.css
videos_list.cssIn 2.9.2, the theme worked perfectly.
Forum: Installing WordPress
In reply to: WordPress 3.0 Installation: Theme ProblemMy website url is: https://www.ivotepolls.com/