Ravens PHP Scripts: Forums
 

 

Search found 71 matches
Author Message
 Topic: $query variable no longer working after PHP upgrade
rogue3

Replies: 4
Views: 16141

PostForum: RavenNuke / Raven CMS CMS Wiki   Posted: Mon Apr 02, 2018 7:56 am   Subject: Re: $query variable no longer working after PHP upgrade
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

PostForum: RavenNuke / Raven CMS CMS Wiki   Posted: Sat Mar 31, 2018 8:49 pm   Subject: $query variable no longer working after PHP upgrade
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

PostForum: RavenNuke / Raven CMS CMS Wiki   Posted: Fri Mar 16, 2018 3:27 pm   Subject: Re: PHP dynamic link generating a random page instead of spe
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

PostForum: RavenNuke / Raven CMS CMS Wiki   Posted: Fri Mar 16, 2018 1:38 pm   Subject: Re: PHP dynamic link generating a random page instead of spe
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

PostForum: RavenNuke / Raven CMS CMS Wiki   Posted: Fri Mar 16, 2018 1:18 pm   Subject: Re: PHP dynamic link generating a random page instead of spe
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

PostForum: RavenNuke / Raven CMS CMS Wiki   Posted: Fri Mar 16, 2018 12:03 pm   Subject: Re: PHP dynamic link generating a random page instead of spe
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

PostForum: RavenNuke / Raven CMS CMS Wiki   Posted: Fri Mar 16, 2018 10:54 am   Subject: Re: PHP dynamic link generating a random page instead of spe
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

PostForum: RavenNuke / Raven CMS CMS Wiki   Posted: Fri Mar 16, 2018 9:04 am   Subject: PHP dynamic link generating a random page instead of specifi
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

PostForum: Blocks   Posted: Wed Sep 15, 2010 8:06 pm   Subject: re: Creating a block to be used standalone
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

PostForum: Blocks   Posted: Wed Sep 15, 2010 1:45 pm   Subject: Creating a block to be used standalone
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

PostForum: Modules   Posted: Wed Sep 15, 2010 11:49 am   Subject: Adding a random review script using info from database
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

PostForum: NukeSentinel(tm) v2.6.x   Posted: Sun Nov 22, 2009 10:51 am   Subject: Trying to block an IP range and it is not working
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

PostForum: NukeSentinel(tm) v2.6.x   Posted: Sun Nov 22, 2009 10:30 am   Subject: Trying to block an IP range and it is not working
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

PostForum: NukeSentinel(tm) v2.6.x   Posted: Sat Nov 21, 2009 8:35 pm   Subject: Trying to block an IP range and it is not working
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

PostForum: General/Other Stuff   Posted: Tue Nov 10, 2009 9:51 pm   Subject: re: Rounding percentage value to a whole number in poll resu
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

PostForum: General/Other Stuff   Posted: Tue Nov 10, 2009 9:47 pm   Subject: Rounding percentage value to a whole number in poll results
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

PostForum: General/Other Stuff   Posted: Tue Nov 10, 2009 9:43 pm   Subject: Embedding a module in another module... possible?
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

PostForum: General/Other Stuff   Posted: Tue Nov 10, 2009 6:40 am   Subject: Embedding a module in another module... possible?
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

PostForum: General/Other Stuff   Posted: Mon Nov 09, 2009 7:35 pm   Subject: Embedding a module in another module... possible?
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

PostForum: General/Other Stuff   Posted: Mon Nov 09, 2009 4:41 pm   Subject: Embedding a module in another module... possible?
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

PostForum: Modules   Posted: Mon Nov 09, 2009 2:10 pm   Subject: JReviews: Adding a poll to the review
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

PostForum: Modules   Posted: Mon Nov 09, 2009 2:07 pm   Subject: Stories Achive 3.0
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

PostForum: Modules   Posted: Thu Oct 01, 2009 7:07 am   Subject: JReviews: Adding an "All" to the alpha list
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

PostForum: Modules   Posted: Thu Sep 24, 2009 6:04 pm   Subject: Fixing the date in one of my functions
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

PostForum: Modules   Posted: Thu Sep 24, 2009 5:56 pm   Subject: Fixing the date in one of my functions
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.
 

 Jump to:   

Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©