Ravens PHP Scripts: Forums
Forum Index • Forum FAQ • Search • Memberlist • Usergroups • Profile • Log in to check your private messages • Log in |
Search found 71 matches |
Ravens PHP Scripts And Web Hosting Forum Index |
Author | Message |
---|---|
Topic: $query variable no longer working after PHP upgrade | |
rogue3 Replies: 4 Views: 16141 ![]() |
![]() |
Thanks for the reply. The first thing I did when researching this is check the error log and it is not dropping any errors. I believe the search function itself is working correctly, it's just not fin ... | |
Topic: $query variable no longer working after PHP upgrade | |
rogue3 Replies: 4 Views: 16141 ![]() |
![]() |
I have a review module that has a built in search function. This all worked fine in PHP5.3, but in PHP5.6 the output no longer works. I've narrowed the problem down to the string that is produced in t ... | |
Topic: PHP dynamic link generating a random page instead of specifi | |
rogue3 Replies: 11 Views: 15003 ![]() |
![]() |
I had to change it back, that is why it is currently working (the article links). | |
Topic: PHP dynamic link generating a random page instead of specifi | |
rogue3 Replies: 11 Views: 15003 ![]() |
![]() |
If you click on either the article title or the read more link it takes you back to the index page instead of to the article page. I switched it back for now. | |
Topic: PHP dynamic link generating a random page instead of specifi | |
rogue3 Replies: 11 Views: 15003 ![]() |
![]() |
Hmmm, so far as I can tell, that didn't change anything. It still seems to be randomizing the year.
Update: actually, after further testing, that updated code broke the article links. |
|
Topic: PHP dynamic link generating a random page instead of specifi | |
rogue3 Replies: 11 Views: 15003 ![]() |
![]() |
Here you go. Thanks for having a look....
https://pastebin.com/X8Fw3qEp |
|
Topic: PHP dynamic link generating a random page instead of specifi | |
rogue3 Replies: 11 Views: 15003 ![]() |
![]() |
Thanks for the fast reply!
I found 3 instances of that line in the full php file and replaced them all. It didn't see to help. Here is the page linking to the archived months if you want to see wha ... |
|
Topic: PHP dynamic link generating a random page instead of specifi | |
rogue3 Replies: 11 Views: 15003 ![]() |
![]() |
Part of my site still runs on an older CMS (PHP Nuke) so that our archived articles can still be accessed. To access them, we have an archive page that archives the articles by month. I recently upgra ... | |
Topic: Creating a block to be used standalone | |
rogue3 Replies: 3 Views: 6221 ![]() |
![]() |
OK, after trial and error and scouring the net for the right php code, I've managed to strip all the nuke stuff out and do a basic php script, which is working perfectly as a standalone random script. ... | |
Topic: Creating a block to be used standalone | |
rogue3 Replies: 3 Views: 6221 ![]() |
![]() |
I'm trying to create a block that pulls from my nuke database, but I want to embed that block in my html code (not used with the nuke blocks section). I think I'm pretty close, and had the block worki ... | |
Topic: Adding a random review script using info from database | |
rogue3 Replies: 2 Views: 5551 ![]() |
![]() |
I'm trying to create a (block? module?) that will display a random image and link from my reviews database. I will be embedding this code into my normal site html, but will be pulling all of the info ... | |
Topic: Trying to block an IP range and it is not working | |
rogue3 Replies: 5 Views: 10346 ![]() |
![]() |
I wasn't able to locate any one that came with NS. Is there some place I can download the sample from?
edit: I found the sample file, but I'm not sure what I have to edit in it. |
|
Topic: Trying to block an IP range and it is not working | |
rogue3 Replies: 5 Views: 10346 ![]() |
![]() |
Hmmm, apparently I don't have an .htaccess file in my nuke directory. Do I need to create that myself? | |
Topic: Trying to block an IP range and it is not working | |
rogue3 Replies: 5 Views: 10346 ![]() |
![]() |
I have polls on my site in each review. I keep getting someone going in and hitting most of the polls with negative votes. When I look at the tables it is obvious that the IP address keeps changing by ... | |
Topic: Rounding percentage value to a whole number in poll results | |
rogue3 Replies: 2 Views: 7690 ![]() |
![]() |
Wow, fast reply!
I thought I'd tinker around with it a bit for a little trial and error and I think I might have found the fix. I changed printf(" %.2f%%", $perc ... |
|
Topic: Rounding percentage value to a whole number in poll results | |
rogue3 Replies: 2 Views: 7690 ![]() |
![]() |
Currently, my results page in my polls list the percentage out to the nearest hundreth. I'd like to round it to a whole number.
Here is the code for the percentage in the Survey index file: i ... |
|
Topic: Embedding a module in another module... possible? | |
rogue3 Replies: 6 Views: 9582 ![]() |
![]() |
Just an update. I've edited the poll module successfully to make it on a white background. Then, I was able to use an iframe tag to put it in the review. It all worked like a charm. I don't have one l ... | |
Topic: Embedding a module in another module... possible? | |
rogue3 Replies: 6 Views: 9582 ![]() |
![]() |
I'm not sure I understand what you are suggesting here with the class="colorbox". I do want to use it with a single module (the reviews module). | |
Topic: Embedding a module in another module... possible? | |
rogue3 Replies: 6 Views: 9582 ![]() |
![]() |
Well, the way I use the nuke modules is actually on a case by case basis, with the module being on a blank page if I don't manually put the wrapper around it. So, I suppose I can try the iframe. When ... | |
Topic: Embedding a module in another module... possible? | |
rogue3 Replies: 6 Views: 9582 ![]() |
![]() |
I would like to add polls to my reviews. I found a poll module. Is it possible to take the link to that poll and embed it in the review content field so that the poll shows up in the reviews?
I tr ... |
|
Topic: JReviews: Adding a poll to the review | |
rogue3 Replies: 1 Views: 4657 ![]() |
![]() |
I'm looking to add the option to add polls to my reviews.
I don't want to use an external poll, because these polls will run for life pretty much and if the external site I'm pulling my poll from ... |
|
Topic: Stories Achive 3.0 | |
rogue3 Replies: 19 Views: 39443 ![]() |
![]() |
I also did not like the default stories archive. Made my own here:
http://www.jeditemplearchives.com/content/modules.php?name=Archives I'm not crazy about the listing of all months, so I have a ... |
|
Topic: JReviews: Adding an "All" to the alpha list | |
rogue3 Replies: 0 Views: 8965 ![]() |
![]() |
Hello!
I'm still tweaking this cool module. This time, I'm trying to add an "All" to the alphalist, so that when clicked on all reviews in the database are displayed. I've almost got it but am hun ... |
|
Topic: Fixing the date in one of my functions | |
rogue3 Replies: 8 Views: 9223 ![]() |
![]() |
OK, I SWEAR I tried this before, but now it is working. Good grief.
Here's the code that is now working: $date = $myrow['date']; $year = substr($date,0,4); $mont ... |
|
Topic: Fixing the date in one of my functions | |
rogue3 Replies: 8 Views: 9223 ![]() |
![]() |
The dates that are in the fields in the database are all different. For some reason it does not pull the date from the field, but instead puts the same date for all of them. | |
Ravens PHP Scripts And Web Hosting Forum Index Goto page 1, 2, 3 Next |
Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours