vBulletin Mods

The Official vBulletin Modifications Site
http://www.vbulletin.org/forum/showthread.php?t=62164

gspot 16 Apr 2004 04:19

Have a question for you all???

I have added exactly what you have shown on the 1st page in order for this hack to work, but I'm running into a problem when this page is called up like this:

http://www.gspotracing.com/4x4rigs/s.../cat/516/page/

I added your hack to the showphoto.php page and it only works in the whos online area when the page is being visited by:

This link: http://www.gspotracing.com/4x4rigs/s...o.php?photo=61

And by a direct link to the page, but not by the 1st link I have given you above...

PLEASE HELP ME.. I REALLY NEED THIS INTEGRATED HACK... :(

SVTBlackLight01 16 Apr 2004 04:27

You must be a registered user to view images!

To register click on the REGISTER button in the menu above.

gspot 16 Apr 2004 05:31

Quote:

Originally Posted by SVTBlackLight01
You must be a registered user to view images!

To register click on the REGISTER button in the menu above.

Sorry I have this option so new members will register in order to view the images the forum has to offer. Non-the-less, I'm still having the same problem.. And this doesn't effect the coding problem I'm running into, does it???

gspot 21 Apr 2004 09:09

1 Attachment(s)
I dont know what I'm doing wrong here, please can someone help me on this. I have the following file being called: "referals.php" with the .php scripting in it and one template being used as well called: "reflist"... Any help would be appreciated, no matter what I do, nothing is outputed from the database. I see the columns correctly, but no usernames or number of referrals, I know there are many members with referrals at this time also. Maybe it's just something messed up in my coding.. PLEASE HELP...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


gspot 21 Apr 2004 23:19

Quote:

Originally Posted by gspot
I dont know what I'm doing wrong here, please can someone help me on this. I have the following file being called: "referals.php" with the .php scripting in it and one template being used as well called: "reflist"... Any help would be appreciated, no matter what I do, nothing is outputed from the database. I see the columns correctly, but no usernames or number of referrals, I know there are many members with referrals at this time also. Maybe it's just something messed up in my coding.. PLEASE HELP...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

SO no one can help me here... WOW.. thanks. :(

PuntoPower 23 Apr 2004 17:43

hi, i installed this and it worked all ok.

wat im trying to achieve is have a phpMyChat section in it inbetween the header and the footer.

how do i go about this? is there code that can call the file for the chat

www.mywebsite.com/chat/chat/index.php3

that places it in the center. im only have basic html. can i create a table and have the page inside that?

plz help

attroll 24 Apr 2004 16:15

Quote:

Originally Posted by gspot
SO no one can help me here... WOW.. thanks. :(

I have found that you don't always get replies to any questions you ask here. I wish the support were better. But this is a hack so I guess we should expect that.

You say you have done exactly as shown in the first page of this post. But you added to the PHP file. The way I understand this hack is that is was created so you can use the template that you create to put all your information in that you want displayed.

I looked at your PHP file and you added to that. I doin think it was intended for this to be done. That is why I think no-one has replied to you on this. You have added the following code in you PHP file:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Cold Steel 27 Apr 2004 02:17

$vboptions[bburl] works better than $vboptions[homeurl] for those who don't have vB installed in the root directory.

Rick Sample 29 Apr 2004 04:22

I'm lost can someone try to fill me in? LOL :)

Ok all I need to do is open up notepad and copy the first set of text in their right? I don't need to add any other <body> tags or anything?

When I want to add stuff I just edit the template or do I edit the so called test file?

Thanks for helping a NewB :)

Cold Steel 29 Apr 2004 20:18

Save the first set of text as a .php file in Notepad. Upload to your server.

When you want to add stuff edit the template. You don't need to edit the PHP file again.

welo 30 Apr 2004 06:37

I've been playing with this and it's a pretty neat thing :). Cheers for putting this info together. I do a quick question I'm hoping someone can point me in the right direction on, however.

I'm working on being able to being able to display a list of agreements all from one primary page using the do= thing. So I have agreement.php setup like is described in the tutorial and instead of


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

...at the end of the file, I have instead added something like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This works fine except the templates for AGREEMENT, agree_standard, and agree_special all basically contain the same code except for the body of the agreement itself. Meaning, it sounds to me like each template contains a lot of redundant code, e.g.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

etc.

How do I set it up so the AGREEMENT template contains this primary structure while child templates like agree_standard aren't forced to repeat it within their own structure, and just contain the HTML I need for that page's 'do' statement?

sross 30 Apr 2004 12:17

I'm on the verge of a nervous breakdown here! lol

I have a nice page working, but I need the "what's going on?" info at the bottom. I've been trying to do this for 4 hours now. I think I've tried everything I'm capable of with no luck. I took the 'What's going on?' box and added it to the template, I then took the what's going on php info and added that to my php file for this hack. I got a few items to work but not all of them. Can someone please help me do this? Thanks

SVTBlackLight01 30 Apr 2004 18:30

welo,

Put the HTML you need for that page's 'do' statement in avariable like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then add $whatever in your AGREEMENT template where you want the 'do' stuff to appear.

welo 30 Apr 2004 18:51

That's exactly what I was trying to do. Thanks man. I've been switching off between working on this and writing all kinds of legal crap for the actual agreements, and just couldn't see it. Sure makes sense now :). Thanks again.

sross 30 Apr 2004 21:27

I'll donate $15 to someone's paypal account if they can help me with my issue in post #163 , I'm desperate!


All times are GMT. The time now is 21:34.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2001 - , vbulletin.org. All rights reserved.