vBulletin Modifications

help :(

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 04-06-2006, 05:45 PM   #1
Member
Join Date: Jun 2005
redbullcola is on a distinguished road

Default help :(

hellu all

well i'm makeing a whois hack
everything works, it drops it in the db
but i can't let the info show in a thread :\

You must first be a registered member to view any code.
this code i use in showthread.php

thx in advance ;)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 04-06-2006, 05:47 PM   #2
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

What error are you getting? Or is it simply showing nothing?

PS: Moved this to General vBulletin Support, as its not really a hack request ;).




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 05:49 PM   #3
Member
Join Date: Jun 2005
redbullcola is on a distinguished road

Default

hehe no error :p
don't showing anything :s


EDIT: well

if($stroi->ripe != NULL || $stroi->ripe != "")

it takes info from "tabel" STRO and from "tafel" ripe

right?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 05:54 PM   #4
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Is the code in the OP the only code you have? Because I do believe you need to execute a query getting that information ;).

It would also help if you could post the table structure of the tables used.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 05:59 PM   #5
Member
Join Date: Jun 2005
redbullcola is on a distinguished road

Default

In newthread i add:
You must first be a registered member to view any code.
i run the follow query
You must first be a registered member to view any code.
é voila

msn: redbullcola@gmail.com

if needed




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 06:05 PM   #6
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Hmm, so that code works? As it's different from the code in the OP ;).




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 06:09 PM   #7
Member
Join Date: Jun 2005
redbullcola is on a distinguished road

Default

yup code works but not displaying on forum:

XML file of table:
You must first be a registered member to view any code.

etc etc so dropping in db works fine




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 06:13 PM   #8
Member
Join Date: Jun 2005
redbullcola is on a distinguished road

Default

there must be an error in:
You must first be a registered member to view any code.

and i suppose in her:

if($stroi->ripe != NULL || $stroi->ripe != "")
{
$ripeinfo = stripslashes($stroi->ripe);




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 06:13 PM   #9
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Well, by table structure I ment which fields and what table names etc ;).

Do you want to display all the info from the table(s) in the thread, or only a specific field?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-06-2006, 06:14 PM   #10
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Quote:
Originally Posted by redbullcola
there must be an error in:
You must first be a registered member to view any code.

and i suppose in her:

if($stroi->ripe != NULL || $stroi->ripe != "")
{
$ripeinfo = stripslashes($stroi->ripe);
That code looks quite alright. How are you getting the info from the database though? Are you not using a query?

EDIT: Ah, by taking a closer look at it I noticed you're using the explode(); function in a wrong way.

What your code does is the following:
It tries to split the first $ripeinfo array into seperate variables ($ripeinfo[X] where x is a number). If you take a look at this page and you'll see what I mean.

So you might want to rethink exactly what you want to display and look for the appropriate version. If you want to use all the info, I'd suggest using "bits".
__________________
Need some custom work done for your site, but can't find a (freelance) coder willing to take on the job? Good news: you needn't look further, as I'm currently accepting custom jobs! From a template fix to a completely new portal system, you name it and I'll make it exclusively for your site! Interested? Send me a PM for details. ;)


Please note that I will only provide support through the vBHackers.com Forums, not through MSN/email/PM.

Last edited by Arnoud; 04-06-2006 at 06:21 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



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

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -3. The time now is 11:47 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)