vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Desktop Image Hack (https://vborg.vbsupport.ru/showthread.php?t=49538)

PSI|Dr-X 03-03-2003 04:55 PM

Im busy with it right now ;)

Vivi Ornitier 03-03-2003 06:35 PM

hey exactly where do i submit the picture? Am i suppose to add a link somewhere on the forums. I goto url.com/desktop.php and add my URL but it just popups a blank screen after that. . . . and wat's goin on.

PSI|Dr-X 03-03-2003 07:29 PM

You must press ok not enter ..... lol

EchoHype.com 03-03-2003 07:43 PM

I"m working on a simple mod to add the links to be easily accesible to change your image in your CP, as well as adding who's online locations for this too.

nothing big, but useful

gopherhockey 03-03-2003 09:59 PM

Not sure why people would want to see other people's desktop images... (???) - however, I can see using this to let people post other types of pictures. My site deals with mountain biking, so perhaps pictures of their bikes or something like that.

Interesting though.

I can see if users are allowed to upload images directly it could cause storage problems - you'd have to be able to check image sizes and then would be getting into imagemagick types of issues..

I suppose a user could offer an anonymous ftp site to place the pictures then give directions on how to submit a link. Hmmm..

EchoHype.com 03-03-2003 10:00 PM

PSI- you may want to add these 2 things to the install file or first post. Please credit me though :) maybe with a link to me forums, hehe.

In user option templates > modifyprofile

find:
Code:

$customfields
add below:
Code:

tr>
        <td bgcolor="#1C5780"><normalfont><b>Desktop Image:</b></normalfont></td>
        <td bgcolor="#1C5780"><normalfont><a href="http://www.yourforumURL.com/desktop.php">Add/Change DeskImage</a></normalfont></td>
</tr>

In online.php find:
Code:

case 'gallery':
$userinfo[where] = "Viewing Picture <a href='gallery.php?s=$session[sessionhash]'>Gallery<a>";
break;

add below:
Code:

case 'desktopimage':
          $userinfo[where] = "Adding/Changing <a href='desktop.php?s=$session[sessionhash]'>Desktop Image<a>";
break;

find:
Code:

case 'gallery.php':
    $userinfo[activity] = 'gallery';
    break;

add below:
Code:

case 'desktop.php':
        $userinfo[activity] = 'desktopimage';
        break;


works on my forums. Have fun!

Serge 03-03-2003 10:25 PM

You another cool and interactive idea is there is a free program that will take random screens of your desktop and then upload them to your webspace that would be cool in intergrate that idea into this hack. But that would take some really hard work to get done.

EchoHype.com 03-03-2003 10:28 PM

random screens and upload them to your webspace......hmm......that'd be like a live webcam eh? but taking desk screenies.

I like that idea....maybe I"ll talk it over with my guys and may do it.

good idea serge!

LOD-squa 03-04-2003 12:24 AM

for

Code:

<tr>
        <td bgcolor="#1C5780"><normalfont><b>Desktop Image:</b></normalfont></td>
        <td bgcolor="#1C5780"><normalfont><a href="http://www.yourforumURL.com/desktop.php">Add/Change DeskImage</a></normalfont></td>
</tr>

You can use

Code:

<tr>
        <td bgcolor="#1C5780"><normalfont><b>Desktop Image:</b></normalfont></td>
        <td bgcolor="#1C5780"><normalfont><a href="$bburl/desktop.php">Add/Change DeskImage</a></normalfont></td>
</tr>

or use remove the $bburl and leave it has desktop.php

EchoHype.com 03-04-2003 12:37 AM

true true, I just have a passion for typing the full URL :)

LOD-squa 03-04-2003 12:45 AM

Lol, I am used to doing the same thing.

Sebastian 03-04-2003 06:11 AM

Quote:

Originally posted by gopherhockey
Not sure why people would want to see other people's desktop images... (???) - however, I can see using this to let people post other types of pictures. My site deals with mountain biking, so perhaps pictures of their bikes or something like that.

Interesting though.

I can see if users are allowed to upload images directly it could cause storage problems - you'd have to be able to check image sizes and then would be getting into imagemagick types of issues..

well, it doesn't have to be desktop pictures, it can be naked pictures if you'd like.. there are no limits..

as for space.. well, most of don't have 100MB of webspace you know.... I have an entire 60GB drive to myself, as with most others with dedicated servers.

PSI|Dr-X 03-05-2003 02:29 PM

Quote:

Originally posted by EchoHype.com
PSI- you may want to add these 2 things to the install file or first post. Please credit me though :) maybe with a link to me forums, hehe.

In user option templates > modifyprofile

find:
Code:

$customfields
add below:
Code:

tr>
        <td bgcolor="#1C5780"><normalfont><b>Desktop Image:</b></normalfont></td>
        <td bgcolor="#1C5780"><normalfont><a href="http://www.yourforumURL.com/desktop.php">Add/Change DeskImage</a></normalfont></td>
</tr>

In online.php find:
Code:

case 'gallery':
$userinfo[where] = "Viewing Picture <a href='gallery.php?s=$session[sessionhash]'>Gallery<a>";
break;

add below:
Code:

case 'desktopimage':
          $userinfo[where] = "Adding/Changing <a href='desktop.php?s=$session[sessionhash]'>Desktop Image<a>";
break;

find:
Code:

case 'gallery.php':
    $userinfo[activity] = 'gallery';
    break;

add below:
Code:

case 'desktop.php':
        $userinfo[activity] = 'desktopimage';
        break;


works on my forums. Have fun!


I had already done that modify profile but anywayz thnx :)

I will be really soon attaching the new updated hack its delayed cuz i most format my computer of a virus :)

Xyphen 03-08-2003 05:43 PM

Can you make an addon that users can choose to upload or specify a url?

Zzed 03-08-2003 05:56 PM

I released a similar hack to this last year...

Image in profile

PSI|Dr-X 03-09-2003 04:59 PM

Avio i had formatted everything of that computer and i am gonna install that computer tommorrow so then i can begin coding ;) *on this computer my server doesn't works*

ElmGoodie 07-20-2003 12:34 AM

Is there a chance you could tell me how to also be able to use this on the fourmhome?

KISS 07-20-2003 04:23 PM

How about a option in the postbit or something that would show if the user has added his desktop for viewing.

Like:

Desktop Available or Desktop Not Available.

Harlequin 09-17-2003 08:05 PM

I asked the same thing about the Image In Profile hack by Zzed (another great hack tryin' to accomplish the same thing as this one is :)) and I think it merits the same thing here.


How would someone go about making a preview for this 'desktop image' in the usercp? [In a table like a signature preview or the subscribed threads, on the main usercp page.]

Keyser S?ze 09-18-2003 12:10 AM

he means so ppl can upload the desktop pic, like in the sig hosting hack, or attachments

also what would be GREAT is if in the profile view, the desktop pic is small like in vb3 attachment views, and then u click it to see the bigass pic

that would be cool, dunno if imma install this one, ppl will complain too much "i aint got no where to host my pic " :(

Harlequin 09-18-2003 01:03 AM

Oh. <insert shwing here> Duuuh.

To answer my question previously a post or two above (if anyone else was interested), use: <IMG SRC="$bbuserinfo[fieldx]">, whereas 'x' is the field number of the profile http:// link the user inputs.

Man it's been one of those days. Sorry for the clutter.


All times are GMT. The time now is 01:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01396 seconds
  • Memory Usage 1,767KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (14)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete