vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Add-On Modules & Modifications

 
 
Thread Tools Display Modes
  #1  
Old 05-17-2004, 11:05 PM
Acido Acido is offline
Member
 
Join Date: Jan 2004
Posts: 60
Default Quote It Module

This a module for this hack:

http://www.vbulletin.org/forum/showthread.php?t=62470

Simply install it, and if you want show the quotes in the vBadvanced CMPS, use follow this instuctions:

1) Upload the showquotes.php file to the Modules Folder
2) Rename the randomquote template (included in the hack) to adv_portal_randomquote
3) Create a new module choosing showquotes.php as the file, and adv_portal_randomquote as Template used.

Note: Is better use it as a CENTER module.

Regards

Note: I upload the showquotes FIXED . Now it works, or you can use the quote.php severals posts below. Both scripts works fine
Attached Files
File Type: php showquotes.php (783 Bytes, 168 views)

Last edited by Acido; 06-02-2004 at 02:23 AM.
  #2  
Old 05-19-2004, 01:24 AM
Thanatos Thanatos is offline
Junior Member
 
Join Date: Feb 2004
Posts: 22
Default Re: Quote It Module

I installed the quoteit hack and tested it on my forumhome template and it worked.

So I copied in your module and followed those instructions and it didn't work.

So I tried a bazillion changes. Nothing worked.

finally, I copied the MYSQL syntax that is in the module and put it above the ?> at the bottom of the page in vba_cmps_include_top.php file.

Then it worked.

Not sure if there is a correct way to get it to work or why I had to do that when the actual hack install works fine...but it worked.
  #3  
Old 05-19-2004, 01:39 PM
Acido Acido is offline
Member
 
Join Date: Jan 2004
Posts: 60
Default Re: Quote It Module

Quote:
Originally Posted by Thanatos

finally, I copied the MYSQL syntax that is in the module and put it above the ?> at the bottom of the page in vba_cmps_include_top.php file.

Then it worked.

Not sure if there is a correct way to get it to work or why I had to do that when the actual hack install works fine...but it worked.
That is not the better way...
Yhis script works to me, but try this one:

http://www.vbulletin.org/forum/showp...&postcount=119

With that script you dont need rename any template. Simply create a center module with that file (quote.php), and randomquote as template used. I'm sure that it works.
  #4  
Old 05-19-2004, 02:28 PM
Thanatos Thanatos is offline
Junior Member
 
Join Date: Feb 2004
Posts: 22
Default Re: Quote It Module

Okay...I'll try that tonight when I am home.

Hopefully it will work, but if not, at least I have a work-around.
  #5  
Old 05-20-2004, 08:52 PM
Thanatos Thanatos is offline
Junior Member
 
Join Date: Feb 2004
Posts: 22
Default Re: Quote It Module

Forgot to post, the quote.php file from that thread made it all work correctly.
  #6  
Old 05-20-2004, 10:45 PM
nineball nineball is offline
Junior Member
 
Join Date: Feb 2004
Posts: 20
Default Re: Quote It Module

Here is the version of quote.php which I posted on the vbulletin.org site for those who want to try it.
Attached Files
File Type: php quote.php (1.1 KB, 66 views)
  #7  
Old 06-01-2004, 10:07 PM
contramontanum's Avatar
contramontanum contramontanum is offline
Member
 
Join Date: Feb 2004
Location: Connecticut, USA
Posts: 51
Default Re: Quote It Module

I'm a little bit confused about how to make this hack work. All I know is that what I'm doing now isn't right. OK, bear with me and I'll try to explain (and hopefully someone can point out the obvious to me... )

I installed the quote hack from vB.org. On my board what used to be cmps_index.php has been renamed to index.php, and what used to be index.php is now forum.php, so the file edits for index.php were applied to forum.php (I hope that made sense). All other edits/uploads were done as per instructions. What I got can be seen in the attached pic, also check out my board to see what I'm talking about.

I hope somebody can set me straight here because this is a hack that I really would like. Thanks.
Attached Images
File Type: jpg randomquotes.jpg (10.4 KB, 515 views)
  #8  
Old 06-01-2004, 11:52 PM
Thanatos Thanatos is offline
Junior Member
 
Join Date: Feb 2004
Posts: 22
Default Re: Quote It Module

Download the quote.php which is in the post above yours, that fixed the problem that I Was experiencing, which appears to be the one you are experiencing.
  #9  
Old 06-02-2004, 02:32 AM
Acido Acido is offline
Member
 
Join Date: Jan 2004
Posts: 60
Default Re: Quote It Module

My script is fixed now. The script from nineball works fine too

Last edited by Acido; 06-05-2004 at 07:32 AM.
  #10  
Old 06-02-2004, 07:51 AM
contramontanum's Avatar
contramontanum contramontanum is offline
Member
 
Join Date: Feb 2004
Location: Connecticut, USA
Posts: 51
Default Re: Quote It Module

I'm stumped. None of the alternative quote files uploaded to the modules folder made any difference. I've also noticed something else. Before changing the name of the randomquote template the incomplete quote box shows, but when changed to adv_portal_randomquote it disappears...
__________________
Loudmouthforums
  #11  
Old 06-03-2004, 10:32 AM
Thanatos Thanatos is offline
Junior Member
 
Join Date: Feb 2004
Posts: 22
Default Re: Quote It Module

Try copying the mysql syntax from the module into the vba_cmps_include_top.php file above the last line and re-setup following the instructions...if it works, there isn't any reason why you shouldn't be able to get this to work normally...if it doesn't work, you may have other issues.
  #12  
Old 06-05-2004, 03:39 AM
TYorke TYorke is offline
Member
 
Join Date: Apr 2004
Posts: 32
Default Re: Quote It Module

I'm having the exact same problem as contramontanum. How was it resolved? I'd really like to know.

Thanks!
  #13  
Old 06-05-2004, 04:09 AM
TYorke TYorke is offline
Member
 
Join Date: Apr 2004
Posts: 32
Default Re: Quote It Module

Quote:
Originally Posted by TYorke
I'm having the exact same problem as contramontanum. How was it resolved? I'd really like to know.

Thanks!
D'oh! never mind, I'm an idiot

Sometimes the most obvious is the answer to anything! I was missing the OR part so I was making use of the quote.php file AND the template randomquote.

I selected the file and deleted the template name, now it all works great. Thanks for this module!
  #14  
Old 06-05-2004, 04:44 AM
TYorke TYorke is offline
Member
 
Join Date: Apr 2004
Posts: 32
Default Re: Quote It Module

BTW I wasn't too thrilled with the 'style' that was provided with this module. So I edited to better match the other boxes (see attached)

Personally, I don't display the quotes on main page of the forums. No need really. I am quite content to have that feature available only to the main page of the portal. So if you like to display the box on both areas, then this edit will not work as desired. I also edited the phrases.

If anyone is interested in this, then let me know and I will post my template
Attached Images
File Type: jpg before.jpg (56.3 KB, 120 views)
File Type: jpg after.jpg (51.4 KB, 92 views)
  #15  
Old 06-05-2004, 05:12 AM
TYorke TYorke is offline
Member
 
Join Date: Apr 2004
Posts: 32
Default Re: Quote It Module

Quote:
Originally Posted by TYorke
BTW I wasn't too thrilled with the 'style' that was provided with this module. So I edited to better match the other boxes (see attached)

Personally, I don't display the quotes on main page of the forums. No need really. I am quite content to have that feature available only to the main page of the portal. So if you like to display the box on both areas, then this edit will not work as desired. I also edited the phrases.

If anyone is interested in this, then let me know and I will post my template
WTF! Suddenly the quotes stopped showing altogether, what gives!?
  #16  
Old 06-05-2004, 08:59 AM
contramontanum's Avatar
contramontanum contramontanum is offline
Member
 
Join Date: Feb 2004
Location: Connecticut, USA
Posts: 51
Default Re: Quote It Module

OK guys, thanks for all help so far. I'm getting there, but I'm still not quite there...

I re-installed everything from scratch and this is what I've got so far (see attachment). It lets me add a new quote, but it never actually shows up on the page. Also, when I click on "View all" there's nothing there. Any suggestions?

TYorke: If I ever get this to work I'd be interested in your template.
Attached Images
File Type: jpg screenshot.jpg (11.2 KB, 410 views)
__________________
Loudmouthforums
  #17  
Old 06-05-2004, 01:17 PM
TYorke TYorke is offline
Member
 
Join Date: Apr 2004
Posts: 32
Default Re: Quote It Module

Quote:
Originally Posted by contramontanum
OK guys, thanks for all help so far. I'm getting there, but I'm still not quite there...

I re-installed everything from scratch and this is what I've got so far (see attachment). It lets me add a new quote, but it never actually shows up on the page. Also, when I click on "View all" there's nothing there. Any suggestions?

TYorke: If I ever get this to work I'd be interested in your template.
NP, when you're ready send me an email and I will send it to you. Another thing, could this be related to some 'security' settings? The reason I ask is because when I visit your forums, I can actually read the quote (John Ashcroft?) can anyone else confirm this?

I am having the same kind of luck contramontanum. So if you ever get it to work correctly, also get in touch with me
  #18  
Old 06-05-2004, 01:33 PM
contramontanum's Avatar
contramontanum contramontanum is offline
Member
 
Join Date: Feb 2004
Location: Connecticut, USA
Posts: 51
Default Re: Quote It Module

The John Ashcroft quote is just in a regular module where I input stuff manually. Seeing as I'm rather php retarded I'm just waiting for someone smarter to come to the rescue. Will contact you reg template when (and if ) I get things working.
__________________
Loudmouthforums
  #19  
Old 06-05-2004, 06:09 PM
TYorke TYorke is offline
Member
 
Join Date: Apr 2004
Posts: 32
Default Re: Quote It Module

Quote:
Originally Posted by contramontanum
The John Ashcroft quote is just in a regular module where I input stuff manually. Seeing as I'm rather php retarded I'm just waiting for someone smarter to come to the rescue. Will contact you reg template when (and if ) I get things working.
Hmmm...Have tried using the random picture module? perhaps you could use that to upload several .txt files with individual quotes in it and have the module randomly display each .txt file...Theorically, it would work. Give it a shot and let me know if it works
  #20  
Old 06-23-2004, 10:07 AM
jaliam jaliam is offline
Junior Member
 
Join Date: Jun 2004
Posts: 10
Default Re: Quote It Module

Where can I find the randomquote template? How do I create it?
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ported the arcade news hack nineball Add-On Modules & Modifications 33 08-19-2006 10:34 PM
Top (10) Posters Module Acido Add-On Modules & Modifications 69 10-08-2005 09:20 AM
How to add a new module Zedd Add-On Modules & Modifications 6 12-13-2004 11:35 PM
create new modules Zedd Troubleshooting / "How do I..." Questions 14 08-14-2004 07:23 PM


All times are GMT -4. The time now is 06:05 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.